[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0703230751530.29603@graphe.net>
Date: Fri, 23 Mar 2007 07:52:36 -0700 (PDT)
From: Christoph Lameter <christoph@...eter.com>
To: Andy Whitcroft <apw@...dowen.org>
cc: Eric Dumazet <dada1@...mosbay.com>, akpm@...l.org,
Pekka J Enberg <penberg@...helsinki.fi>,
linux-kernel@...r.kernel.org, hch@....de, manfred@...orfullife.com,
pj@....com
Subject: Re: [PATCH] slab: NUMA kmem_cache diet
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists