[PATCH v2 0/7] memcg-vs-slab related fixes, improvements, cleanups

From: Vladimir Davydov
Date: Mon Feb 03 2014 - 10:54:55 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/