X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fslab.c;h=840742641152b91052d5688553f761aaff829be2;hb=82c1c11bdd92d94f8fd620a3ea6c894eba37d4ed;hp=771cc09f9f1abf762561251952d4d0ea2813c72b;hpb=97e2bde47f886a317909c8a8f9bd2fcd8ce2f0b0;p=linux-2.6 diff --git a/mm/slab.c b/mm/slab.c index 771cc09f9f..8407426411 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -1666,7 +1666,7 @@ int kmem_cache_destroy(kmem_cache_t * cachep) } if (unlikely(cachep->flags & SLAB_DESTROY_BY_RCU)) - synchronize_kernel(); + synchronize_rcu(); /* no cpu_online check required here since we clear the percpu * array on cpu offline and set this to NULL.