diff options
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |