From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 8 Feb 2007 13:38:52 -0800 (PST) From: Christoph Lameter Subject: Re: Drop PageReclaim() 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: Hugh Dickins Cc: akpm@linux-foundation.org, linux-mm@kvack.org List-ID: On Thu, 8 Feb 2007, Christoph Lameter wrote: > > On return from shrink_page_list(), > > doesn't shrink_inactive_list() put those pages back on the LRU? > > Yes but it has cleared PageReclaim by then. Crap. You are right. If the page is still under writeback then PageReclaim remains set and end_page_writeback puts the page onn the inactive list. Could we put the page on the inactive list in shrink_page_list? -- 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