Re: What was the problem with quicklists and x86-64?

From: Christoph Lameter
Date: Thu Dec 13 2007 - 16:41:18 EST


On Fri, 14 Dec 2007, Benjamin Herrenschmidt wrote:

> > This is a generic NUMA issue here! Quicklist pages that are not on
> > the current node are freed without waiting for the TLB flush. The patch
> > that I posted fixes that by requiring that all pages be flushed.
>
> Ah ok, so that's a NUMA issue due to how the quicklists are implemented,
> I see. Note that the flush isn't necessary a solution on all platforms.
> On powerpc, I -still- need to defer with RCU as we don't do anything in
> flush tlb. Our TLB invalidations are HW broadcast in the first place,
> but what we need to sync with is the SW hash reload code.
>
> So your solution in the quicklists doesn't solve the problem for us.

No this may mean that the problem does not exist on powerpc since it
seems to be okay to free pages before all processors have flushed the
TLBs? Or are you deferrring the freeing of the pages via RCU?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/