From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422718AbXCOPCM (ORCPT ); Thu, 15 Mar 2007 11:02:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422862AbXCOPCM (ORCPT ); Thu, 15 Mar 2007 11:02:12 -0400 Received: from mx1.redhat.com ([66.187.233.31]:49887 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422718AbXCOPCL (ORCPT ); Thu, 15 Mar 2007 11:02:11 -0400 Message-ID: <45F95FA8.6060207@redhat.com> Date: Thu, 15 Mar 2007 11:00:56 -0400 From: Rik van Riel Organization: Red Hat, Inc User-Agent: Thunderbird 1.5.0.7 (X11/20061008) MIME-Version: 1.0 To: Andreas Mohr CC: Dave Kleikamp , Ashif Harji , linux-mm@kvack.org, Nick Piggin , Jan Kara , linux-kernel@vger.kernel.org, akpm@linux-foundation.org Subject: Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed References: <20070312142012.GH30777@atrey.karlin.mff.cuni.cz> <20070312143900.GB6016@wotan.suse.de> <20070312151355.GB23532@duck.suse.cz> <20070312173500.GF23532@duck.suse.cz> <20070313185554.GA5105@duck.suse.cz> <1173905741.8763.36.camel@kleikamp.austin.ibm.com> <20070314213317.GA22234@rhlx01.hs-esslingen.de> In-Reply-To: <20070314213317.GA22234@rhlx01.hs-esslingen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Andreas Mohr wrote: > I've been thinking hard how to avoid the mark_page_accessed() starvation in > case of a fixed, (almost) non-changing access state, but this seems hard since > it'd seem we need some kind of state management here to figure out good > intervals of when to call mark_page_accessed() *again* for this page. Like this? :) http://surriel.com/patches/clockpro/2.6.12/useonce-cleanup -- Politics is the struggle between those who want to make their country the best in the world, and those who believe it already is. Each group calls the other unpatriotic. From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45F95FA8.6060207@redhat.com> Date: Thu, 15 Mar 2007 11:00:56 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed References: <20070312142012.GH30777@atrey.karlin.mff.cuni.cz> <20070312143900.GB6016@wotan.suse.de> <20070312151355.GB23532@duck.suse.cz> <20070312173500.GF23532@duck.suse.cz> <20070313185554.GA5105@duck.suse.cz> <1173905741.8763.36.camel@kleikamp.austin.ibm.com> <20070314213317.GA22234@rhlx01.hs-esslingen.de> In-Reply-To: <20070314213317.GA22234@rhlx01.hs-esslingen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Andreas Mohr Cc: Dave Kleikamp , Ashif Harji , linux-mm@kvack.org, Nick Piggin , Jan Kara , linux-kernel@vger.kernel.org, akpm@linux-foundation.org List-ID: Andreas Mohr wrote: > I've been thinking hard how to avoid the mark_page_accessed() starvation in > case of a fixed, (almost) non-changing access state, but this seems hard since > it'd seem we need some kind of state management here to figure out good > intervals of when to call mark_page_accessed() *again* for this page. Like this? :) http://surriel.com/patches/clockpro/2.6.12/useonce-cleanup -- Politics is the struggle between those who want to make their country the best in the world, and those who believe it already is. Each group calls the other unpatriotic. -- 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