Subject: CVS commit: [vmlocking] src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 06/23/2007 18:06:08
Module Name:	src
Committed By:	ad
Date:		Sat Jun 23 18:06:08 UTC 2007

Modified Files:
	src/sys/dev [vmlocking]: vnd.c
	src/sys/dev/dkwedge [vmlocking]: dk.c
	src/sys/kern [vmlocking]: vfs_bio.c vfs_subr.c
	src/sys/miscfs/genfs [vmlocking]: genfs_vnops.c
	src/sys/miscfs/syncfs [vmlocking]: sync_subr.c sync_vnops.c
	src/sys/sys [vmlocking]: vnode.h
	src/sys/ufs/ffs [vmlocking]: ffs_snapshot.c ffs_softdep.c ffs_vnops.c
	src/sys/ufs/lfs [vmlocking]: lfs_bio.c lfs_segment.c lfs_vfsops.c
	    lfs_vnops.c
	src/sys/uvm [vmlocking]: uvm_swap.c

Log Message:
- Lock v_cleanblkhd, v_dirtyblkhd, v_numoutput with the vnode's interlock.
  Get rid of global_v_numoutput_lock. Partially incomplete as the buffer
  cache locking doesn't work very well and needs an overhaul.
- Some changes to try and make softdep MP safe. Untested.


To generate a diff of this commit:
cvs rdiff -r1.165.2.6 -r1.165.2.7 src/sys/dev/vnd.c
cvs rdiff -r1.22.2.3 -r1.22.2.4 src/sys/dev/dkwedge/dk.c
cvs rdiff -r1.170.2.9 -r1.170.2.10 src/sys/kern/vfs_bio.c
cvs rdiff -r1.283.2.9 -r1.283.2.10 src/sys/kern/vfs_subr.c
cvs rdiff -r1.150.2.8 -r1.150.2.9 src/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -r1.28.6.2 -r1.28.6.3 src/sys/miscfs/syncfs/sync_subr.c
cvs rdiff -r1.16.8.2 -r1.16.8.3 src/sys/miscfs/syncfs/sync_vnops.c
cvs rdiff -r1.167.2.6 -r1.167.2.7 src/sys/sys/vnode.h
cvs rdiff -r1.43.2.5 -r1.43.2.6 src/sys/ufs/ffs/ffs_snapshot.c
cvs rdiff -r1.86.2.10 -r1.86.2.11 src/sys/ufs/ffs/ffs_softdep.c
cvs rdiff -r1.86.4.6 -r1.86.4.7 src/sys/ufs/ffs/ffs_vnops.c
cvs rdiff -r1.98.8.3 -r1.98.8.4 src/sys/ufs/lfs/lfs_bio.c
cvs rdiff -r1.198.2.5 -r1.198.2.6 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.231.4.6 -r1.231.4.7 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.201.2.7 -r1.201.2.8 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -r1.122.2.8 -r1.122.2.9 src/sys/uvm/uvm_swap.c

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