From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with SMTP id 60A396B004D for ; Thu, 16 Jul 2009 10:01:39 -0400 (EDT) Received: from localhost (smtp.ultrahosting.com [127.0.0.1]) by smtp.ultrahosting.com (Postfix) with ESMTP id 3CBA682C462 for ; Thu, 16 Jul 2009 10:20:51 -0400 (EDT) Received: from smtp.ultrahosting.com ([74.213.175.254]) by localhost (smtp.ultrahosting.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lMy2E362YWLX for ; Thu, 16 Jul 2009 10:20:51 -0400 (EDT) Received: from gentwo.org (unknown [74.213.171.31]) by smtp.ultrahosting.com (Postfix) with ESMTP id 69F7082C48A for ; Thu, 16 Jul 2009 10:20:21 -0400 (EDT) Date: Thu, 16 Jul 2009 10:00:51 -0400 (EDT) From: Christoph Lameter Subject: Re: [PATCH] mm: count only reclaimable lru pages In-Reply-To: <20090716133454.GA20550@localhost> Message-ID: References: <20090716133454.GA20550@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: Wu Fengguang Cc: KOSAKI Motohiro , Minchan Kim , Johannes Weiner , David Howells , "riel@redhat.com" , Andrew Morton , LKML , "peterz@infradead.org" , "tytso@mit.edu" , "linux-mm@kvack.org" , "elladan@eskimo.com" , "npiggin@suse.de" , "Barnes, Jesse" List-ID: On Thu, 16 Jul 2009, Wu Fengguang wrote: > When swap is full or not present, the anon lru lists are not reclaimable > and thus won't be scanned. So the anon pages shall not be counted. Also > rename the function names to reflect the new meaning. > > It can greatly (and correctly) increase the slab scan rate under high memory > pressure (when most file pages have been reclaimed and swap is full/absent), > thus avoid possible false OOM kills. Reclaimable? Are all pages on the LRUs truly reclaimable? Aside from that nit. Reviewed-by: Christoph Lameter -- 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