Re: [uml-devel] Re: madvise(DONTNEED) on tmpfs pages instead of /dev/anon

2005-08-26 Thread Blaisorblade
On Monday 22 August 2005 22:24, Jeff Dike wrote: > On Fri, Aug 12, 2005 at 07:00:26PM +0200, Blaisorblade wrote: > > Yes, but for the VM, there is nothing else than pagecache and swapcache > > and swap entries. Since that call will drop them, on normal files backing > > store will remain, on tmpfs

Re: [uml-devel] Re: madvise(DONTNEED) on tmpfs pages instead of /dev/anon

2005-08-22 Thread Jeff Dike
On Fri, Aug 12, 2005 at 07:00:26PM +0200, Blaisorblade wrote: > Yes, but for the VM, there is nothing else than pagecache and swapcache and > swap entries. Since that call will drop them, on normal files backing store > will remain, on tmpfs everything will vanish! > > Hope you'll implement this

[uml-devel] Re: madvise(DONTNEED) on tmpfs pages instead of /dev/anon

2005-08-12 Thread Blaisorblade
On Friday 12 August 2005 18:38, Jeff Dike wrote: > On Wed, Aug 10, 2005 at 09:36:43PM +0200, Blaisorblade wrote: > > About this, I was thinking back to what Rik said in Ottawa at the OLS. He > > said "just use madvise(DONTNEED) on it", but I remarked that the pages > > were file-backed. > > Actual

[uml-devel] Re: madvise(DONTNEED) on tmpfs pages instead of /dev/anon

2005-08-12 Thread Jeff Dike
On Wed, Aug 10, 2005 at 09:36:43PM +0200, Blaisorblade wrote: > About this, I was thinking back to what Rik said in Ottawa at the OLS. He > said > "just use madvise(DONTNEED) on it", but I remarked that the pages were > file-backed. > Actually, however, since backing store for tmpfs is just pag