From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [patch 14/21] scan noreclaim list for reclaimable pages From: Lee Schermerhorn In-Reply-To: <20080228154152.9648b7b8.randy.dunlap@oracle.com> References: <20080228192908.126720629@redhat.com> <20080228192929.203173998@redhat.com> <20080228154152.9648b7b8.randy.dunlap@oracle.com> Content-Type: text/plain Date: Fri, 29 Feb 2008 09:38:54 -0500 Message-Id: <1204295934.5311.3.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Randy Dunlap Cc: Rik van Riel , linux-kernel@vger.kernel.org, KOSAKI Motohiro , linux-mm@kvack.org List-ID: On Thu, 2008-02-28 at 15:41 -0800, Randy Dunlap wrote: > On Thu, 28 Feb 2008 14:29:22 -0500 Rik van Riel wrote: > > > V2 -> V3: > > + rebase to 23-mm1 atop RvR's split LRU series > > > > New in V2 > > > > This patch adds a function to scan individual or all zones' noreclaim > > lists and move any pages that have become reclaimable onto the respective > > zone's inactive list, where shrink_inactive_list() will deal with them. > > > > This replaces the function to splice the entire noreclaim list onto the > > active list for rescan by shrink_active_list(). That method had problems > > with vmstat accounting and complicated '[__]isolate_lru_pages()'. Now, > > __isolate_lru_page() will never isolate a non-reclaimable page. The > > only time it should see one is when scanning nearby pages for lumpy > > reclaim. > > > > TODO: This approach may still need some refinement. > > E.g., put back to active list? > > > > DEBUGGING ONLY: NOT FOR UPSTREAM MERGE > > > > Signed-off-by: Lee Schermerhorn > > Signed-off-by: Rik van Riel > > > Hi, > > I haven't looked at all 21 patches, but please use kernel-doc > notation as it's defined. See Documentation/kernel-doc-nano-HOWTO.txt > for details, or ask. Hi, Randy: I'll make a pass thru the noreclaim patches and fix up the comment blocks that are not quite kernel-doc. I have to update some of the patch descriptions as well, as some have become stale thanks to additional work by Kosaki-san [e.g., the page vec cleanup]. I'll discuss with Rik, off-list, how to coordinate for the next reposting. Thanks, Lee -- 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