]> Git Repo - linux.git/commit - mm/slab_common.c
slub: separate out sysfs_slab_release() from sysfs_slab_remove()
authorTejun Heo <[email protected]>
Wed, 22 Feb 2017 23:41:11 +0000 (15:41 -0800)
committerLinus Torvalds <[email protected]>
Thu, 23 Feb 2017 00:41:27 +0000 (16:41 -0800)
commitbf5eb3de3847ebcfd1fea7bc14072ef9f21d4e8d
tree7e03f1c29075716c9e5cdef6803d9a0de6e80263
parent290b6a58b78be709e734d7fbeb1aa0416d9d41bc
slub: separate out sysfs_slab_release() from sysfs_slab_remove()

Separate out slub sysfs removal and release, and call the former earlier
from __kmem_cache_shutdown().  There's no reason to defer sysfs removal
through RCU and this will later allow us to remove sysfs files way
earlier during memory cgroup offline instead of release.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: Vladimir Davydov <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/slub_def.h
mm/slab_common.c
mm/slub.c
This page took 0.0602 seconds and 4 git commands to generate.