This patch-set fixes several bugs here and there in the implementation of kmem accounting for memory cgroups and makes the code look a bit clearer. 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>