aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 578f68f3c51f..39d39653239b 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1390,7 +1390,7 @@ static struct page *get_partial(struct kmem_cache *s, gfp_t flags, int node)
1390 int searchnode = (node == -1) ? numa_node_id() : node; 1390 int searchnode = (node == -1) ? numa_node_id() : node;
1391 1391
1392 page = get_partial_node(get_node(s, searchnode)); 1392 page = get_partial_node(get_node(s, searchnode));
1393 if (page || (flags & __GFP_THISNODE)) 1393 if (page || node != -1)
1394 return page; 1394 return page;
1395 1395
1396 return get_any_partial(s, flags); 1396 return get_any_partial(s, flags);