diff options
author | Tejun Heo <tj@kernel.org> | 2017-02-23 00:41:11 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-23 01:41:27 +0100 |
commit | bf5eb3de3847ebcfd1fea7bc14072ef9f21d4e8d (patch) | |
tree | 7e03f1c29075716c9e5cdef6803d9a0de6e80263 /mm/slab.h | |
parent | Revert "slub: move synchronize_sched out of slab_mutex on shrink" (diff) | |
download | linux-bf5eb3de3847ebcfd1fea7bc14072ef9f21d4e8d.tar.xz linux-bf5eb3de3847ebcfd1fea7bc14072ef9f21d4e8d.zip |
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/20170117235411.9408-3-tj@kernel.org
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.h')
0 files changed, 0 insertions, 0 deletions