From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with ESMTP id D26BD8D0039 for ; Tue, 1 Feb 2011 04:34:45 -0500 (EST) Date: Tue, 1 Feb 2011 10:34:30 +0100 From: Johannes Weiner Subject: Re: [PATCH] memcg: fix event counting breakage by recent THP update Message-ID: <20110201093430.GF19534@cmpxchg.org> References: <20110201091208.b2088800.kamezawa.hiroyu@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110201091208.b2088800.kamezawa.hiroyu@jp.fujitsu.com> Sender: owner-linux-mm@kvack.org To: KAMEZAWA Hiroyuki Cc: "akpm@linux-foundation.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "nishimura@mxp.nes.nec.co.jp" , "balbir@linux.vnet.ibm.com" List-ID: On Tue, Feb 01, 2011 at 09:12:08AM +0900, KAMEZAWA Hiroyuki wrote: > > Thanks to Johannes for catching this. > And sorry for my patch, I'd like to consinder some debug check.. > = > Changes in commit e401f1761c0b01966e36e41e2c385d455a7b44ee > adds nr_pages to support multiple page size in memory_cgroup_charge_statistics. > > But counting the number of event nees abs(nr_pages) for increasing > counters. This patch fixes event counting. > > Reported-by: Johannes Weiner > Signed-off-by: KAMEZAWA Hiroyuki Reviewed-by: Johannes Weiner -- 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 policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org