Message ID | 7f22ccf72a55f87d771a9dd0ea0c5e227b6b7b5c.1591898986.git.zanussi@kernel.org |
---|---|
State | New |
Headers | show |
Series | None | expand |
diff --git a/mm/slub.c b/mm/slub.c index d243c6ef7fc9..a9473bbb1338 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -2341,9 +2341,6 @@ static void flush_all(struct kmem_cache *s) for_each_online_cpu(cpu) { struct slub_free_list *f; - if (!has_cpu_slab(cpu, s)) - continue; - f = &per_cpu(slub_free_list, cpu); raw_spin_lock_irq(&f->lock); list_splice_init(&f->list, &tofree);