From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with SMTP id 2EF356B0082 for ; Tue, 12 May 2009 09:20:30 -0400 (EDT) Message-ID: <4A09778B.5030809@redhat.com> Date: Tue, 12 May 2009 09:20:11 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH -mm] vmscan: make mapped executable pages the first class citizen References: <20090430195439.e02edc26.akpm@linux-foundation.org> <49FB01C1.6050204@redhat.com> <20090501123541.7983a8ae.akpm@linux-foundation.org> <20090503031539.GC5702@localhost> <1241432635.7620.4732.camel@twins> <20090507121101.GB20934@localhost> <20090507151039.GA2413@cmpxchg.org> <20090507134410.0618b308.akpm@linux-foundation.org> <20090508081608.GA25117@localhost> <20090508125859.210a2a25.akpm@linux-foundation.org> <20090512025058.GA7518@localhost> In-Reply-To: <20090512025058.GA7518@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Wu Fengguang Cc: Andrew Morton , "hannes@cmpxchg.org" , "peterz@infradead.org" , "linux-kernel@vger.kernel.org" , "tytso@mit.edu" , "linux-mm@kvack.org" , "elladan@eskimo.com" , "npiggin@suse.de" , "cl@linux-foundation.org" , "kosaki.motohiro@jp.fujitsu.com" , "minchan.kim@gmail.com" List-ID: Wu Fengguang wrote: >> Also, the change makes this comment: >> >> spin_lock_irq(&zone->lru_lock); >> /* >> * Count referenced pages from currently used mappings as >> * rotated, even though they are moved to the inactive list. >> * This helps balance scan pressure between file and anonymous >> * pages in get_scan_ratio. >> */ >> reclaim_stat->recent_rotated[!!file] += pgmoved; >> >> inaccurate. > > Good catch, I'll just remove the stale "even though they are moved to > the inactive list". Well, it is still true for !VM_EXEC pages. -- All rights reversed. -- 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