From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423264Ab2KNSyp (ORCPT ); Wed, 14 Nov 2012 13:54:45 -0500 Received: from mailhub.sw.ru ([195.214.232.25]:30825 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423016Ab2KNSyo (ORCPT ); Wed, 14 Nov 2012 13:54:44 -0500 From: Glauber Costa To: Andrew Morton Cc: , , Tejun Heo , Michal Hocko , Johannes Weiner , , Christoph Lameter , Pekka Enberg Subject: [PATCH 0/7] fixups for kmemcg Date: Thu, 15 Nov 2012 06:54:46 +0400 Message-Id: <1352948093-2315-1-git-send-email-glommer@parallels.com> X-Mailer: git-send-email 1.7.11.7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andrew, As you requested, here are some fixups and clarifications for the kmemcg series. It also handles one bug reported by Sasha. Please note that I didn't touch kmem_cache_shrink(): I believe that deserves a deeper and more thoughtful solution that will take time to brew. I plan to address that eventually in the scope of per-memcg kernel memory reclaim. I did, however, remove the delayed_work in favor of a normal worker. Memory will stay around for longer, but it will be reclaimed eventually, and given your objections I believe this is a more desirable trade off. Please let me know if there is anything you would like to see different, and sorry for not handling this earlier. Glauber Costa (7): memcg: simplify ida initialization move include of workqueue.h to top of slab.h file memcg: remove test for current->mm in memcg_stop/resume_kmem_account memcg: replace __always_inline with plain inline memcg: get rid of once-per-second cache shrinking for dead memcgs memcg: add comments clarifying aspects of cache attribute propagation slub: drop mutex before deleting sysfs entry include/linux/memcontrol.h | 12 +++++++++--- include/linux/slab.h | 6 +++--- mm/memcontrol.c | 34 ++++++++++------------------------ mm/slab.c | 1 + mm/slub.c | 34 +++++++++++++++++++++++++++++----- 5 files changed, 52 insertions(+), 35 deletions(-) -- 1.7.11.7