aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slub.c')
-rw-r--r--mm/slub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 9f121c10184f..a018019aa91d 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1718,7 +1718,7 @@ debug:
1718 1718
1719 c->page->inuse++; 1719 c->page->inuse++;
1720 c->page->freelist = get_freepointer(s, object); 1720 c->page->freelist = get_freepointer(s, object);
1721 c->node = -1; 1721 c->node = NUMA_NO_NODE;
1722 goto unlock_out; 1722 goto unlock_out;
1723} 1723}
1724 1724
@@ -1895,7 +1895,7 @@ static __always_inline void slab_free(struct kmem_cache *s,
1895 1895
1896 slab_free_hook_irq(s, x); 1896 slab_free_hook_irq(s, x);
1897 1897
1898 if (likely(page == c->page && c->node >= 0)) { 1898 if (likely(page == c->page && c->node != NUMA_NO_NODE)) {
1899 set_freepointer(s, object, c->freelist); 1899 set_freepointer(s, object, c->freelist);
1900 c->freelist = object; 1900 c->freelist = object;
1901 stat(s, FREE_FASTPATH); 1901 stat(s, FREE_FASTPATH);