Subject: CVS commit: syssrc/sys/miscfs/genfs
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 02/19/2002 17:49:40
Module Name:	syssrc
Committed By:	chs
Date:		Tue Feb 19 15:49:40 UTC 2002

Modified Files:
	syssrc/sys/miscfs/genfs: genfs_vnops.c

Log Message:
fix two problems:
 - when yielding the cpu while using the vnode's page list, use a marker page
   to keep our place in the list (like the other cases where we drop the lock).
 - wait until no one else has the page busy before deciding if the page needs
   to be cleaned.  a page will be dirty while it's being initialized but will
   be marked clean before PG_BUSY is cleared.
both found by enami.


To generate a diff of this commit:
cvs rdiff -r1.48 -r1.49 syssrc/sys/miscfs/genfs/genfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.