From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 23 May 2001 11:59:32 -0300 (BRT) From: Marcelo Tosatti Subject: Re: write drop behind effect on active scanning In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Mark Hahn Cc: linux-mm@kvack.org List-ID: On Wed, 23 May 2001, Mark Hahn wrote: > > > page->age = 0 ? > > > > That would make any full scan through the active list move all dropped > > pages from generic_file_write() to the inactive list. > > well, that's where they're going, aren't they? > when these pages are unlocked, they should wind up on the > inactive-clean list. I think the real question is whether > it's worthwhile to make a separate locked list for them. > it certainly makes no sense to have them on a/ic/id while > they're locked, no? It makes sense to have a separate list for pages which are being laundered (written out) from the inactive dirty list. This way we have a more "accurate" deactivation target in case the pages on this "being written" list do not get counted as "deactivated" pages. This would avoid the excessive VM pressure of dirty data writeout (which Rik just mentioned) and also avoid the "inactive dirty list full of unfreeable pages" problem. I don't think its a 2.4 thing, though. -- 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.eu.org/Linux-MM/