mm/sl[aou]b: Get rid of __kmem_cache_destroy
authorChristoph Lameter <[email protected]>
Tue, 4 Sep 2012 23:38:33 +0000 (23:38 +0000)
committerPekka Enberg <[email protected]>
Wed, 5 Sep 2012 09:00:36 +0000 (12:00 +0300)
commit12c3667fb780e20360ad0bde32dfb3591ef609ad
treedbced65da22c85212bf632ff6953c0a94252c3ef
parent8f4c765c22deee766319ae9a1db68325f14816e6
mm/sl[aou]b: Get rid of __kmem_cache_destroy

What is done there can be done in __kmem_cache_shutdown.

This affects RCU handling somewhat. On rcu free all slab allocators do
not refer to other management structures than the kmem_cache structure.
Therefore these other structures can be freed before the rcu deferred
free to the page allocator occurs.

Reviewed-by: Joonsoo Kim <[email protected]>
Signed-off-by: Christoph Lameter <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
mm/slab.c
mm/slab.h
mm/slab_common.c
mm/slob.c
mm/slub.c