From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 16 Jan 2006 08:05:39 -0500 (EST) From: Rik van Riel Subject: Re: use-once-cleanup testing In-Reply-To: <43C883AA.30101@cyberone.com.au> Message-ID: References: <20060114000533.GA4111@dmt.cnet> <43C883AA.30101@cyberone.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Nick Piggin Cc: Marcelo Tosatti , akpm@osdl.org, Peter Zijlstra , linux-mm@kvack.org List-ID: On Sat, 14 Jan 2006, Nick Piggin wrote: > Yes, I found that also doing use-once on mapped pages caused fairly huge > slowdowns in some cases. File IO could much more easily cause X and its > applications to get swapped out. We can get rid of that effect easily by adding reclaim_mapped logic to the inactive list scan. The zone previous_priority will keep track of what to do when we start a scan... > Possibly. I think moving unmapped use-once over to PG_useonce first, and > tidying the weird warts and special cases (that don't make sense) from > vmscan is a good first step. Agreed, cleaning up the code first will make it a lot easier to make improvements bit by bit. -- All Rights Reversed -- 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