cvs commit: src/sys/emulation/linux linux_util.c src/sys/kern vfs_cache.c vfs_lock.c vfs_mount.c vfs_subr.c src/sys/sys vnode.h src/sys/vfs/fdesc fdesc_vfsops.c src/sys/vfs/nullfs null_vfsops.c src/sys/vfs/portal portal_vfsops.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Aug 9 15:53:06 PDT 2006
dillon 2006/08/09 15:47:36 PDT
DragonFly src repository
Modified files:
sys/emulation/linux linux_util.c
sys/kern vfs_cache.c vfs_lock.c vfs_mount.c
vfs_subr.c
sys/sys vnode.h
sys/vfs/fdesc fdesc_vfsops.c
sys/vfs/nullfs null_vfsops.c
sys/vfs/portal portal_vfsops.c
Log:
VNode sequencing and locking - part 1/4.
Separate vref() for the case where the ref count is already non-zero (which
is nearly all uses of vref()), vs the case where it might be zero. Clean
up the code in preparation for putting it under a spinlock.
Revision Changes Path
1.12 +1 -1 src/sys/emulation/linux/linux_util.c
1.73 +1 -4 src/sys/kern/vfs_cache.c
1.20 +38 -32 src/sys/kern/vfs_lock.c
1.20 +4 -9 src/sys/kern/vfs_mount.c
1.92 +4 -7 src/sys/kern/vfs_subr.c
1.63 +1 -1 src/sys/sys/vnode.h
1.21 +5 -4 src/sys/vfs/fdesc/fdesc_vfsops.c
1.23 +5 -12 src/sys/vfs/nullfs/null_vfsops.c
1.22 +5 -4 src/sys/vfs/portal/portal_vfsops.c
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/linux_util.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_cache.c.diff?r1=1.72&r2=1.73&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_lock.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_mount.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_subr.c.diff?r1=1.91&r2=1.92&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/vnode.h.diff?r1=1.62&r2=1.63&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/fdesc/fdesc_vfsops.c.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nullfs/null_vfsops.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/portal/portal_vfsops.c.diff?r1=1.21&r2=1.22&f=u
More information about the Commits
mailing list