From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail6.bemta8.messagelabs.com (mail6.bemta8.messagelabs.com [216.82.243.55]) by kanga.kvack.org (Postfix) with ESMTP id 0A4C09000BD for ; Tue, 27 Sep 2011 12:57:02 -0400 (EDT) Received: by fxh17 with SMTP id 17so9644605fxh.14 for ; Tue, 27 Sep 2011 09:56:57 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1316230753-8693-1-git-send-email-walken@google.com> Date: Tue, 27 Sep 2011 22:20:21 +0530 Message-ID: Subject: Re: [PATCH 0/8] idle page tracking / working set estimation From: Balbir Singh Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Michel Lespinasse Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , KAMEZAWA Hiroyuki , Dave Hansen , Andrea Arcangeli , Rik van Riel , Johannes Weiner , KOSAKI Motohiro , Hugh Dickins , Peter Zijlstra , Michael Wolf >> >> Sorry, I have trouble parsing this sentence, could you elaborate on "when"? > > page_referenced() indicates if a page was accessed since the previous > page_referenced() call. > > page_referenced_kstaled() indicates if a page was accessed since the > previous page_referenced_kstaled() call. > > Both of the functions need to clear PTE young bits; however we don't > want the two functions to interfere with each other. To achieve this, > we add two page bits to indicate when a young PTE has been observed by > one of the functions but not by the other. OK and this gives different page aging schemes for the same page? Is this to track state changes PR1 sees: PTE x young as 0 PR2 sees: PTE x as 1, the rest to 0 so PR1 and PR2 will disagree? Should I be looking deeper in the patches to understand Balbir -- 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