diff options
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3249,8 +3249,7 @@ static void *fallback_alloc(struct kmem_cache *cache, gfp_t flags) | |||
3249 | if (flags & __GFP_THISNODE) | 3249 | if (flags & __GFP_THISNODE) |
3250 | return NULL; | 3250 | return NULL; |
3251 | 3251 | ||
3252 | zonelist = &NODE_DATA(slab_node(current->mempolicy)) | 3252 | zonelist = node_zonelist(slab_node(current->mempolicy), flags); |
3253 | ->node_zonelists[gfp_zone(flags)]; | ||
3254 | local_flags = flags & (GFP_CONSTRAINT_MASK|GFP_RECLAIM_MASK); | 3253 | local_flags = flags & (GFP_CONSTRAINT_MASK|GFP_RECLAIM_MASK); |
3255 | 3254 | ||
3256 | retry: | 3255 | retry: |