cvs commit: src/sys/fs/specfs spec_vnops.c src/sys/kern
kern_conf.c vfs_bio.c vfs_subr.c src/sys/sys conf.h
Poul-Henning Kamp
phk at FreeBSD.org
Thu Sep 23 00:17:42 PDT 2004
phk 2004-09-23 07:17:42 UTC
FreeBSD src repository
Modified files:
sys/fs/specfs spec_vnops.c
sys/kern kern_conf.c vfs_bio.c vfs_subr.c
sys/sys conf.h
Log:
Do not refcount the cdevsw, but rather maintain a cdev->si_threadcount
of the number of threads which are inside whatever is behind the
cdevsw for this particular cdev.
Make the device mutex visible through dev_lock() and dev_unlock().
We may want finer granularity later.
Replace spechash_mtx use with dev_lock()/dev_unlock().
Revision Changes Path
1.229 +42 -18 src/sys/fs/specfs/spec_vnops.c
1.158 +17 -36 src/sys/kern/kern_conf.c
1.449 +11 -5 src/sys/kern/vfs_bio.c
1.526 +17 -24 src/sys/kern/vfs_subr.c
1.195 +3 -3 src/sys/sys/conf.h
More information about the cvs-src
mailing list