[Devel] [PATCH v2 0/7] memcg-vs-slab related fixes, improvements, cleanups
Vladimir Davydov
vdavydov at parallels.com
Mon Feb 3 07:54:35 PST 2014
Hi,
This patch set mostly cleanups memcg slab caches creation/destruction
paths fixing a couple of bugs in the meanwhile. The only serious change
it introduces is a rework of the sysfs layout for memcg slub caches (see
patch 7).
Changes in v2:
- do not remove cgroup name part from memcg cache names
- do not export memcg cache id to userspace
Comments are appreciated.
Thanks.
Vladimir Davydov (7):
memcg, slab: never try to merge memcg caches
memcg, slab: cleanup memcg cache name creation
memcg, slab: separate memcg vs root cache creation paths
memcg, slab: unregister cache from memcg before starting to destroy
it
memcg, slab: do not destroy children caches if parent has aliases
slub: adjust memcg caches when creating cache alias
slub: rework sysfs layout for memcg caches
include/linux/memcontrol.h | 16 ++--
include/linux/slab.h | 9 +--
include/linux/slub_def.h | 3 +
mm/memcontrol.c | 104 +++++++++++-------------
mm/slab.h | 36 ++++-----
mm/slab_common.c | 192 ++++++++++++++++++++++++++++----------------
mm/slub.c | 118 +++++++++++++++++++++------
7 files changed, 296 insertions(+), 182 deletions(-)
--
1.7.10.4
More information about the Devel
mailing list