aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slub.c')
-rw-r--r--mm/slub.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 39592b5ce68a..19ebbfb20689 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1309,8 +1309,7 @@ static struct page *get_any_partial(struct kmem_cache *s, gfp_t flags)
1309 get_cycles() % 1024 > s->remote_node_defrag_ratio) 1309 get_cycles() % 1024 > s->remote_node_defrag_ratio)
1310 return NULL; 1310 return NULL;
1311 1311
1312 zonelist = &NODE_DATA( 1312 zonelist = node_zonelist(slab_node(current->mempolicy), flags);
1313 slab_node(current->mempolicy))->node_zonelists[gfp_zone(flags)];
1314 for (z = zonelist->zones; *z; z++) { 1313 for (z = zonelist->zones; *z; z++) {
1315 struct kmem_cache_node *n; 1314 struct kmem_cache_node *n;
1316 1315