[PATCH RESEND 00/11] kmemcg-fixes

From: Vladimir Davydov
Date: Mon Jan 06 2014 - 03:45:22 EST


Hi,

This patch-set fixes several bugs here and there in the implementation
of kmem accounting for memory cgroups and hopefully makes the code look
a bit clearer.

Links to discussion threads that led to this patch-set:
http://www.spinics.net/lists/cgroups/msg09512.html
http://www.spinics.net/lists/cgroups/msg09695.html
http://www.spinics.net/lists/cgroups/msg09796.html

Any comments are highly appreciated.

Thanks.

Vladimir Davydov (11):
slab: cleanup kmem_cache_create_memcg() error handling
memcg, slab: kmem_cache_create_memcg(): fix memleak on fail path
memcg, slab: cleanup memcg cache initialization/destruction
memcg, slab: fix barrier usage when accessing memcg_caches
memcg: fix possible NULL deref while traversing memcg_slab_caches
list
memcg, slab: fix races in per-memcg cache creation/destruction
memcg: get rid of kmem_cache_dup
slab: do not panic if we fail to create memcg cache
memcg, slab: RCU protect memcg_params for root caches
memcg: remove KMEM_ACCOUNTED_ACTIVATED flag
memcg: rework memcg_update_kmem_limit synchronization

include/linux/memcontrol.h | 23 +--
include/linux/slab.h | 9 +-
mm/memcontrol.c | 405 +++++++++++++++++++++-----------------------
mm/slab.h | 26 ++-
mm/slab_common.c | 90 ++++++----
5 files changed, 292 insertions(+), 261 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/