From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx149.postini.com [74.125.245.149]) by kanga.kvack.org (Postfix) with SMTP id 2FAD06B004D for ; Tue, 21 Feb 2012 03:07:08 -0500 (EST) Received: from m3.gw.fujitsu.co.jp (unknown [10.0.50.73]) by fgwmail5.fujitsu.co.jp (Postfix) with ESMTP id C19043EE0BD for ; Tue, 21 Feb 2012 17:07:06 +0900 (JST) Received: from smail (m3 [127.0.0.1]) by outgoing.m3.gw.fujitsu.co.jp (Postfix) with ESMTP id A64D845DEB2 for ; Tue, 21 Feb 2012 17:07:06 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (s3.gw.fujitsu.co.jp [10.0.50.93]) by m3.gw.fujitsu.co.jp (Postfix) with ESMTP id 8D61045DE9E for ; Tue, 21 Feb 2012 17:07:06 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 7F4AB1DB803F for ; Tue, 21 Feb 2012 17:07:06 +0900 (JST) Received: from m106.s.css.fujitsu.com (m106.s.css.fujitsu.com [10.240.81.146]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 258CE1DB8047 for ; Tue, 21 Feb 2012 17:07:06 +0900 (JST) Date: Tue, 21 Feb 2012 17:05:38 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [PATCH 2/10] mm/memcg: move reclaim_stat into lruvec Message-Id: <20120221170538.84461d91.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Hugh Dickins Cc: Andrew Morton , Konstantin Khlebnikov , Johannes Weiner , Ying Han , linux-mm@kvack.org, linux-kernel@vger.kernel.org On Mon, 20 Feb 2012 15:29:37 -0800 (PST) Hugh Dickins wrote: > With mem_cgroup_disabled() now explicit, it becomes clear that the > zone_reclaim_stat structure actually belongs in lruvec, per-zone > when memcg is disabled but per-memcg per-zone when it's enabled. > > We can delete mem_cgroup_get_reclaim_stat(), and change > update_page_reclaim_stat() to update just the one set of stats, > the one which get_scan_count() will actually use. > > Signed-off-by: Hugh Dickins Seems nice to me. Acked-by: KAMEZAWA Hiroyuki -- 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