Re: [RFC, PATCH] SLAB : [NUMA] keep nodeid in struct page insteadof struct slab

From: Christoph Lameter
Date: Wed Mar 21 2007 - 11:44:27 EST


On Wed, 21 Mar 2007, Pekka Enberg wrote:

> On 3/21/07, Christoph Lameter <christoph@xxxxxxxxxxx> wrote:
> > None of that please. The page flags already contain a node number that is
> > accessible via page_to_nid(). Just make sure that we never put a slab onto
> > the wrong node.
>
> Sounds good. Do you know for a fact that we don't or are you just
> afraid we have a bug?

I tried to clean it up during the GFP_THISNODE work but there was some
issue on powerpc where we needed fallback for bootstrap. There may be more
trouble there. Checking the allocs where we do not use GFP_THISNODE should
get you there.

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