From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 11 Feb 2006 15:29:05 -0800 From: Andrew Morton Subject: Re: Skip reclaim_mapped determination if we do not swap Message-Id: <20060211152905.6093258d.akpm@osdl.org> In-Reply-To: References: <20060211135031.623fdef9.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: linux-mm@kvack.org, nickpiggin@yahoo.com.au, marcelo.tosatti@cyclades.com List-ID: Christoph Lameter wrote: > > But should > this piece of code really be there? Doesnt it belong ito shrink_zone() or > even in try_to_free_pages() or balance_pgdat(). Shouldn't we pass > reclaim_mapped as a parameter to refill_inactive_zone? Well, it's only used in refill_inactive_zone(). Does it matter much where it is? -- 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