From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 8 Feb 2007 14:14:39 -0800 (PST) From: Christoph Lameter Subject: Re: Drop PageReclaim() In-Reply-To: <20070208140338.971b3f53.akpm@linux-foundation.org> Message-ID: References: <20070208140338.971b3f53.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: Hugh Dickins , linux-mm@kvack.org List-ID: On Thu, 8 Feb 2007, Andrew Morton wrote: > During the vmscan we encounter a page at the tail of the inactive list > which we want to reclaim, but it's dirty. So we start writeout and then > move it to the head of the inactive list and keep scanning. > > When writeback completes, we take a look at the page to see if it still > seems to be reclaimable and if so, move it to the tail of the inactive list > so that it will be reclaimed very soon. Still reclaimable means on the LRU and not activated? > PG_reclaim is used to indicate pages which need this treatment. We have a mechanism to trigger events based on the end of writeback (also triggered in end_page_writeback). But I guess we are not using it because we do not have a process context? -- 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