aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2011-04-15 15:48:12 -0400
committerPekka Enberg <penberg@kernel.org>2011-04-17 07:03:19 -0400
commit33de04ec4cb80b6bd0782e88a64954e60bc15dc1 (patch)
tree182d78e554cc4d4c5cb367e967d951650f52fccb /mm
parent607bf324ab3d780e1ec20b1b1a3bfaa3be58a957 (diff)
slub: Use NUMA_NO_NODE in get_partial
A -1 was leftover during the conversion. Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 129f10cdfc59..5284fb779670 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1487,7 +1487,7 @@ static struct page *get_partial(struct kmem_cache *s, gfp_t flags, int node)
1487 int searchnode = (node == NUMA_NO_NODE) ? numa_node_id() : node; 1487 int searchnode = (node == NUMA_NO_NODE) ? numa_node_id() : node;
1488 1488
1489 page = get_partial_node(get_node(s, searchnode)); 1489 page = get_partial_node(get_node(s, searchnode));
1490 if (page || node != -1) 1490 if (page || node != NUMA_NO_NODE)
1491 return page; 1491 return page;
1492 1492
1493 return get_any_partial(s, flags); 1493 return get_any_partial(s, flags);