lkml.org 
[lkml]   [2007]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-23 17:23    [W:0.195 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site