Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756301AbZCLCC4 (ORCPT ); Wed, 11 Mar 2009 22:02:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755864AbZCLCA2 (ORCPT ); Wed, 11 Mar 2009 22:00:28 -0400 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:45043 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755850AbZCLCA0 (ORCPT ); Wed, 11 Mar 2009 22:00:26 -0400 From: KOSAKI Motohiro To: Minchan Kim Subject: Re: [PATCH] NOMMU: Pages allocated to a ramfs inode's pagecache may get wrongly discarded Cc: kosaki.motohiro@jp.fujitsu.com, Andrew Morton , dhowells@redhat.com, torvalds@linux-foundation.org, peterz@infradead.org, Enrik.Berkhan@ge.com, uclinux-dev@uclinux.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Johannes Weiner , Rik van Riel , Lee Schermerhorn In-Reply-To: <20090312105226.88df3f63.minchan.kim@barrios-desktop> References: <20090312100049.43A3.A69D9226@jp.fujitsu.com> <20090312105226.88df3f63.minchan.kim@barrios-desktop> Message-Id: <20090312105622.43A6.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.50 [ja] Date: Thu, 12 Mar 2009 11:00:18 +0900 (JST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 809 Lines: 25 > Hi, Kosaki-san. > > I think ramfs pages's unevictablility should not depend on CONFIG_UNEVICTABLE_LRU. > It would be better to remove dependency of CONFIG_UNEVICTABLE_LRU ? > > How about this ? > It's just RFC. It's not tested. > > That's because we can't reclaim that pages regardless of whether there is unevictable list or not maybe, your patch work. but we can remove CONFIG_UNEVICTABLE_LRU build option itself completely after nommu folks confirmed CONFIG_UNEVICTABLE_LRU works well on their machine it is more cleaner IMHO. What do you think? -- 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/