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

From: Christoph Lameter
Date: Wed Mar 21 2007 - 12:28:40 EST


On Wed, 21 Mar 2007, Andi Kleen wrote:

> On Wed, Mar 21, 2007 at 05:42:22PM +0200, Pekka J Enberg wrote:
> > On Wed, 21 Mar 2007, Christoph Lameter 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.
> >
> > Oh well, here's a patch to find out. (I don't have a NUMA box.)
>
> You can always use numa emulation on x86-64. Boot with numa=fake=NODES

This wont help you to debug strange fallback scenarios on unusual NUMA
platforms.

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