Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754302AbZCUKWg (ORCPT ); Sat, 21 Mar 2009 06:22:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752123AbZCUKW1 (ORCPT ); Sat, 21 Mar 2009 06:22:27 -0400 Received: from cmpxchg.org ([85.214.51.133]:52639 "EHLO cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751532AbZCUKW0 (ORCPT ); Sat, 21 Mar 2009 06:22:26 -0400 Date: Sat, 21 Mar 2009 11:20:44 +0100 From: Johannes Weiner To: Lee Schermerhorn Cc: David Howells , Minchan Kim , Andrew Morton , kosaki.motohiro@jp.fujitsu.com, torvalds@linux-foundation.org, peterz@infradead.org, nrik.Berkhan@ge.com, uclinux-dev@uclinux.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, riel@surriel.com Subject: Re: [PATCH 0/2] Make the Unevictable LRU available on NOMMU Message-ID: <20090321102044.GA3427@cmpxchg.org> References: <1237565305.27431.48.camel@lts-notebook> <20090312100049.43A3.A69D9226@jp.fujitsu.com> <20090313173343.10169.58053.stgit@warthog.procyon.org.uk> <28c262360903131727l4ef41db5xf917c7c5eb4825a8@mail.gmail.com> <12759.1237566272@redhat.com> <1237573815.27431.122.camel@lts-notebook> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1237573815.27431.122.camel@lts-notebook> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1322 Lines: 32 On Fri, Mar 20, 2009 at 02:30:15PM -0400, Lee Schermerhorn wrote: > On Fri, 2009-03-20 at 16:24 +0000, David Howells wrote: > > Lee Schermerhorn wrote: > > > > > I just want to point out [again :)] that removing the ramfs pages from > > > the lru will prevent them from being migrated > > > > This is less of an issue for NOMMU kernels, since you can't migrate pages that > > are mapped. > > > Agreed. So, you could eliminate them [ramfs pages] from the lru for > just the nommu kernels, if you wanted to go that route. These pages don't come with much overhead anymore when they sit on the unevictable list, right? So I don't see much point in special casing them all over the place. I have a patchset that decouples the unevictable lru feature from mlock, enables the latter on nommu and then makes sure ramfs pages go immediately to the unevictable list so they don't need the scanner to move them. This is just wiring up of features we already have. I will sent this mondayish, need to test it more especially on a NOMMU setup. Hannes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/