[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0706261217250.20282@schroedinger.engr.sgi.com>
Date: Tue, 26 Jun 2007 12:19:24 -0700 (PDT)
From: Christoph Lameter <clameter@....com>
To: Nish Aravamudan <nish.aravamudan@...il.com>
cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, Pekka Enberg <penberg@...helsinki.fi>,
suresh.b.siddha@...el.com
Subject: Re: [patch 12/26] SLUB: Slab defragmentation core
On Tue, 26 Jun 2007, Nish Aravamudan wrote:
> > kmem_cache_defrag takes a node parameter. This can either be -1 if
> > defragmentation should be performed on all nodes, or a node number.
> > If a node number was specified then defragmentation is only performed
> > on a specific node.
>
> Hrm, isn't -1 usually 'this node' for NUMA systems? Maybe nr_node_ids
> or MAX_NUMNODES should mean 'all nodes'?
-1 means no node specified. What the function does in this case depends
on the function. For "this node" you can use numa_node_id().
-
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