]> bbs.cooldavid.org Git - net-next-2.6.git/commit
slub: Use a constant for a unspecified node.
authorChristoph Lameter <cl@linux-foundation.org>
Fri, 9 Jul 2010 19:07:10 +0000 (14:07 -0500)
committerPekka Enberg <penberg@cs.helsinki.fi>
Fri, 16 Jul 2010 08:13:06 +0000 (11:13 +0300)
commit2154a336381f85f5390d9a84c6cf4a7d2847b6ed
tree6b4f2136878a578e8675f042bd4a361a8ca253df
parent1c5474a65bf15a4cb162dfff86d6d0b5a08a740c
slub: Use a constant for a unspecified node.

kmalloc_node() and friends can be passed a constant -1 to indicate
that no choice was made for the node from which the object needs to
come.

Use NUMA_NO_NODE instead of -1.

CC: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c