Re: [PATCH] slab: NUMA kmem_cache diet

From: Christoph Lameter
Date: Fri Mar 23 2007 - 10:53:14 EST


On Fri, 23 Mar 2007, Andy Whitcroft wrote:

> > + /*
> > + * We put nodelists[] at the end of kmem_cache, because we want to size
> > + * this array to nr_node_ids slots instead of MAX_NUMNODES
> > + * (see kmem_cache_init())
> > + * We still use [MAX_NUMNODES] and not [1] or [0] because cache_cache
> > + * is statically defined, so we reserve the max number of nodes.
> > + */

Good idea.
-
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/