[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090313224908.GA2271@cmpxchg.org>
Date: Fri, 13 Mar 2009 23:49:08 +0100
From: Johannes Weiner <hannes@...xchg.org>
To: David Howells <dhowells@...hat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Minchan Kim <minchan.kim@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
torvalds@...ux-foundation.org, peterz@...radead.org,
Enrik.Berkhan@...com, uclinux-dev@...inux.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Rik van Riel <riel@...riel.com>,
Lee Schermerhorn <lee.schermerhorn@...com>
Subject: Re: [PATCH] NOMMU: Pages allocated to a ramfs inode's pagecache may get wrongly discarded
On Fri, Mar 13, 2009 at 11:53:02AM +0000, David Howells wrote:
> KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com> wrote:
>
> > David, Could you please try following patch if you have NOMMU machine?
> > it is straightforward porting to nommu.
>
> Is this patch actually sufficient, though? Surely it requires an alteration
> to ramfs to mark the page as being unevictable?
ramfs already marks the whole address space of each inode as
unevictable, see ramfs_get_inode().
The reclaim code will regard this when the config option is enabled.
Hannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists