Subject: Re: nfs vs pagedaemon
To: None <firstname.lastname@example.org>
From: YAMAMOTO Takashi <email@example.com>
Date: 04/06/2003 20:56:29
> 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.
thanks for trying.
'everything' means you're using swap over nfs?