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

From: Benjamin Herrenschmidt
Date: Thu Dec 13 2007 - 18:11:35 EST



On Thu, 2007-12-13 at 14:36 -0800, Christoph Lameter wrote:
> On Fri, 14 Dec 2007, Benjamin Herrenschmidt wrote:
>
> > > 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?
> >
> > I'm deferring the freeing with RCU.
>
> The deferral works on a page level or for the whole list of pages that
> have been gathered?

We have a separate batch to store page table pages with an RCU head on
it, we fire it off when it's full or when tlb gather is complete.

Ben.

--
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/