mm/slub.c: replace kick_all_cpus_sync() with synchronize_sched() in kmem_cache_shrink()
[cascardo/linux.git] / mm / slub.c
index 4dbb109..ba81cf6 100644 (file)
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -3697,7 +3697,7 @@ int __kmem_cache_shrink(struct kmem_cache *s, bool deactivate)
                 * s->cpu_partial is checked locklessly (see put_cpu_partial),
                 * so we have to make sure the change is visible.
                 */
-               kick_all_cpus_sync();
+               synchronize_sched();
        }
 
        flush_all(s);