From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Davydov Subject: [PATCH RESEND 00/11] kmemcg-fixes Date: Mon, 6 Jan 2014 12:44:51 +0400 Message-ID: Mime-Version: 1.0 Return-path: Sender: owner-linux-mm@kvack.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: mhocko@suse.cz, akpm@linux-foundation.org Cc: glommer@gmail.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, cgroups@vger.kernel.org, devel@openvz.org 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753387AbaAFIpS (ORCPT ); Mon, 6 Jan 2014 03:45:18 -0500 Received: from relay.parallels.com ([195.214.232.42]:40016 "EHLO relay.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751617AbaAFIpP (ORCPT ); Mon, 6 Jan 2014 03:45:15 -0500 From: Vladimir Davydov To: , CC: , , , , Subject: [PATCH RESEND 00/11] kmemcg-fixes Date: Mon, 6 Jan 2014 12:44:51 +0400 Message-ID: X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.24.24.128] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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