diff options
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1392,7 +1392,7 @@ static struct page *get_partial(struct kmem_cache *s, gfp_t flags, int node) | |||
1392 | int searchnode = (node == NUMA_NO_NODE) ? numa_node_id() : node; | 1392 | int searchnode = (node == NUMA_NO_NODE) ? numa_node_id() : node; |
1393 | 1393 | ||
1394 | page = get_partial_node(get_node(s, searchnode)); | 1394 | page = get_partial_node(get_node(s, searchnode)); |
1395 | if (page || (flags & __GFP_THISNODE)) | 1395 | if (page || node != -1) |
1396 | return page; | 1396 | return page; |
1397 | 1397 | ||
1398 | return get_any_partial(s, flags); | 1398 | return get_any_partial(s, flags); |