From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 6 Sep 2002 19:22:28 -0300 (BRT) From: Rik van Riel Subject: Re: inactive_dirty list 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: Andrew Morton Cc: "linux-mm@kvack.org" List-ID: On Fri, 6 Sep 2002, Rik van Riel wrote: > On Fri, 6 Sep 2002, Andrew Morton wrote: > > > hum. I'm trying to find a model where the VM can just ignore > > dirty|writeback pagecache. We know how many pages are out > > there, sure. But we don't scan them. Possible? > > Owww duh, I see it now. > > So basically pages should _only_ go into the inactive_dirty list > when they are under writeout. As an aside, we might want to limit the amount of in-flight data to a sane limit and just go to sleep for a bit if the VM has far too much data in flight already. If we need 2 MB of extra free memory, it doesn't make sense to monopolise the whole IO subsystem by writing out 100 MB at once ;) regards, Rik -- Bravely reimplemented by the knights who say "NIH". http://www.surriel.com/ http://distro.conectiva.com/ Spamtraps of the month: september@surriel.com trac@trac.org -- 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/