From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx184.postini.com [74.125.245.184]) by kanga.kvack.org (Postfix) with SMTP id 1FCE86B0082 for ; Tue, 22 May 2012 06:27:58 -0400 (EDT) From: Glauber Costa Subject: [PATCH v6 0/2] fix static_key disabling problem in memcg Date: Tue, 22 May 2012 14:25:37 +0400 Message-Id: <1337682339-21282-1-git-send-email-glommer@parallels.com> Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: linux-mm@kvack.org, cgroups@vger.kernel.org, devel@openvz.org, kamezawa.hiroyu@jp.fujitsu.com, netdev@vger.kernel.org, Tejun Heo , Li Zefan Andrew, This is a respin of the last fixes I sent for sock memcg problems with the static_keys enablement. The first patch is still unchanged, and for the second, I am using a flags field as for your suggestion. Indeed, I found a flags field to be more elegant, while still maintaining a fast path for the readers. Kame, will you please take a look and see if this would work okay? Tejun, are you happy with the current state of the comments explaining the scenario? Thank you very much for your time Glauber Costa (2): Always free struct memcg through schedule_work() decrement static keys on real destroy time include/linux/memcontrol.h | 5 ++++ include/net/sock.h | 11 +++++++++ mm/memcontrol.c | 53 +++++++++++++++++++++++++++++++++---------- net/ipv4/tcp_memcontrol.c | 34 ++++++++++++++++++++++----- 4 files changed, 83 insertions(+), 20 deletions(-) -- 1.7.7.6 -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org