From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 28 Feb 2007 10:17:03 -0800 (PST) From: Christoph Lameter Subject: Re: [PATCH 2/5] lumpy: isolate_lru_pages wants to specifically take active or inactive pages In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Andy Whitcroft Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mel Gorman List-ID: On Tue, 27 Feb 2007, Andy Whitcroft wrote: > The caller of isolate_lru_pages specifically knows whether it wants > to take either inactive or active pages. Currently we take the > state of the LRU page at hand and use that to scan for matching > pages in the order sized block. If that page is transiting we > can scan for the wrong type. The caller knows what they want and > should be telling us. Pass in the required active/inactive state > and match against that. The page cannot be transiting since we hold the lru lock? -- 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