From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with ESMTP id 6445260021B for ; Wed, 9 Dec 2009 20:30:57 -0500 (EST) Date: Thu, 10 Dec 2009 10:16:27 +0900 From: Daisuke Nishimura Subject: Re: [PATCH] [TRIVIAL] memcg: fix memory.memsw.usage_in_bytes for root cgroup Message-Id: <20091210101627.1a9bd484.nishimura@mxp.nes.nec.co.jp> In-Reply-To: <20091209162109.567ff5fa.akpm@linux-foundation.org> References: <1260373738-17179-1-git-send-email-kirill@shutemov.name> <20091210085929.56c63eb2.kamezawa.hiroyu@jp.fujitsu.com> <20091209162109.567ff5fa.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Andrew Morton Cc: nishimura@mxp.nes.nec.co.jp, KAMEZAWA Hiroyuki , "Kirill A. Shutemov" , linux-mm@kvack.org, Balbir Singh , Pavel Emelyanov , linux-kernel@vger.kernel.org, stable@kernel.org List-ID: On Wed, 9 Dec 2009 16:21:09 -0800, Andrew Morton wrote: > On Thu, 10 Dec 2009 08:59:29 +0900 > KAMEZAWA Hiroyuki wrote: > > > On Wed, 9 Dec 2009 17:48:58 +0200 > > "Kirill A. Shutemov" wrote: > > > > > We really want to take MEM_CGROUP_STAT_SWAPOUT into account. > > > > > > Signed-off-by: Kirill A. Shutemov > > > Cc: stable@kernel.org > > > > Thanks. > > > > Acked-by: KAMEZAWA Hiroyuki > > > > Is this bug sufficiently serious to justify a -stable backport? > > If so, why? > Well, the value of /memory.memsw.usage_in_bytes would be incorrect (swap usage would not be counted) without this patch. So the impact of this bug depends on how the value is used. Anyway, this bug exists only in 2.6.32 and this patch can be applied onto it without any change. Thanks, Daisuke Nishimura. -- 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