From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail6.bemta12.messagelabs.com (mail6.bemta12.messagelabs.com [216.82.250.247]) by kanga.kvack.org (Postfix) with ESMTP id DFCB29000BD for ; Wed, 28 Sep 2011 03:18:56 -0400 (EDT) Received: from m1.gw.fujitsu.co.jp (unknown [10.0.50.71]) by fgwmail6.fujitsu.co.jp (Postfix) with ESMTP id 3678F3EE0C1 for ; Wed, 28 Sep 2011 16:18:53 +0900 (JST) Received: from smail (m1 [127.0.0.1]) by outgoing.m1.gw.fujitsu.co.jp (Postfix) with ESMTP id 11B6945DE5C for ; Wed, 28 Sep 2011 16:18:53 +0900 (JST) Received: from s1.gw.fujitsu.co.jp (s1.gw.fujitsu.co.jp [10.0.50.91]) by m1.gw.fujitsu.co.jp (Postfix) with ESMTP id ECCF645DE58 for ; Wed, 28 Sep 2011 16:18:52 +0900 (JST) Received: from s1.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s1.gw.fujitsu.co.jp (Postfix) with ESMTP id DDD121DB8055 for ; Wed, 28 Sep 2011 16:18:52 +0900 (JST) Received: from ml13.s.css.fujitsu.com (ml13.s.css.fujitsu.com [10.240.81.133]) by s1.gw.fujitsu.co.jp (Postfix) with ESMTP id A62871DB804A for ; Wed, 28 Sep 2011 16:18:52 +0900 (JST) Date: Wed, 28 Sep 2011 16:18:05 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [PATCH 3/9] kstaled: page_referenced_kstaled() and supporting infrastructure. Message-Id: <20110928161805.8acb33c5.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <1317170947-17074-4-git-send-email-walken@google.com> References: <1317170947-17074-1-git-send-email-walken@google.com> <1317170947-17074-4-git-send-email-walken@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Michel Lespinasse Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Dave Hansen , Rik van Riel , Balbir Singh , Peter Zijlstra , Andrea Arcangeli , Johannes Weiner , KOSAKI Motohiro , Hugh Dickins , Michael Wolf On Tue, 27 Sep 2011 17:49:01 -0700 Michel Lespinasse wrote: > Add a new page_referenced_kstaled() interface. The desired behavior > is that page_referenced() returns page references since the last > page_referenced() call, and page_referenced_kstaled() returns page > references since the last page_referenced_kstaled() call, but they > are both independent of each other and do not influence each other. > > The following events are counted as kstaled page references: > - CPU data access to the page (as noticed through pte_young()); > - mark_page_accessed() calls; > - page being freed / reallocated. > > > Signed-off-by: Michel Lespinasse Reviewed-by: KAMEZAWA Hiroyuki 2 questions. What happens at Transparent HugeTLB pages are splitted/collapsed ? Does this feature can ignore page migration i.e. flags should not be copied ? Thanks, -Kame -- 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