Messages in this thread | | | Date | Fri, 13 Mar 2009 23:49:08 +0100 | From | Johannes Weiner <> | 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@jp.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
| |