diff --git a/mm/slub.c b/mm/slub.c index 0863fd38a5ce06a87392f5ba753606a516a5d262..a96e11c77fd9595deec57b445888fde3b9bf4671 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1368,7 +1368,7 @@ static void deactivate_slab(struct kmem_cache *s, struct kmem_cache_cpu *c) struct page *page = c->page; int tail = 1; - if (c->freelist) + if (page->freelist) stat(c, DEACTIVATE_REMOTE_FREES); /* * Merge cpu freelist into slab freelist. Typically we get here