From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH]: VM 8/8 shrink_list(): set PG_reclaimed From: Nick Piggin In-Reply-To: <20050425212911.31cf6b43.akpm@osdl.org> References: <16994.40728.397980.431164@gargle.gargle.HOWL> <20050425212911.31cf6b43.akpm@osdl.org> Content-Type: text/plain Date: Tue, 26 Apr 2005 15:27:24 +1000 Message-Id: <1114493245.25240.4.camel@npiggin-nld.site> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: Nikita Danilov , linux-mm@kvack.org List-ID: On Mon, 2005-04-25 at 21:29 -0700, Andrew Morton wrote: > Nikita Danilov wrote: > > > > > > set PG_reclaimed bit on pages that are under writeback when shrink_list() > > looks at them: these pages are at end of the inactive list, and it only makes > > sense to reclaim them as soon as possible when writeout finishes. > > > > Makes sense, I guess. It would be nice to know how many pages actually get > this treatment, and under what situations. > > To address the race which Nick identified I think we can do it this way? > I did the same patch a while back and I had a feeling this didn't work either. I can't immediately see a race... but don't put this one in 2.6.12! I agree it makes sense. -- SUSE Labs, Novell Inc. -- 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: aart@kvack.org