Subject: Re: nfs vs pagedaemon
To: YAMAMOTO Takashi <>
From: Andrey Petrov <>
List: tech-kern
Date: 04/04/2003 23:08:32
On Sat, Apr 05, 2003 at 12:45:16AM +0900, YAMAMOTO Takashi wrote:
> hi,
> when nfsv3 unwritten pages are putpage'ed asynchronously (ie. !PGO_SYNC),
> pages will be written with UNSTABLE, marked as NEEDCOMMIT and
> kept dirty (ie. !PG_CLEAN).
> however, with PGO_FREE, the pages will be free'ed immediately when i/o is done.
> pagedaemon actually does putpages(PGO_CLEANIT|PGO_FREE) and i think that
> uncommitted pages can be free'ed.
> i think attached patch solves this problem. is this correct?

I tried it on sparc64 with 64M of memory and everything on nfs,
after the system starts swapping in everything dies from 'textfault
at 204ce0'. I havn't looked any further.