Date: Thu, 25 Oct 2001 17:08:05 -0700 (PDT) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c src/sys/sys vnode.h src/sys/ufs/ffs ffs_vfsops.c src/sys/vm vm_fault.c vm_object.c vm_object.h vm_page.c Message-ID: <200110260008.f9Q086v36985@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dillon 2001/10/25 17:08:05 PDT
Modified files:
sys/kern vfs_subr.c
sys/sys vnode.h
sys/ufs/ffs ffs_vfsops.c
sys/vm vm_fault.c vm_object.c vm_object.h
vm_page.c
Log:
Implement kern.maxvnodes. adjusting kern.maxvnodes now actually has a
real effect.
Optimize vfs_msync(). Avoid having to continually drop and re-obtain
mutexes when scanning the vnode list. Improves looping case by 500%.
Optimize ffs_sync(). Avoid having to continually drop and re-obtain
mutexes when scanning the vnode list. This makes a couple of assumptions,
which I believe are ok, in regards to vnode stability when the mount list
mutex is held. Improves looping case by 500%.
(more optimization work is needed on top of these fixes)
MFC after: 1 week
Revision Changes Path
1.326 +76 -36 src/sys/kern/vfs_subr.c
1.161 +5 -0 src/sys/sys/vnode.h
1.163 +22 -16 src/sys/ufs/ffs/ffs_vfsops.c
1.126 +2 -3 src/sys/vm/vm_fault.c
1.199 +40 -3 src/sys/vm/vm_object.c
1.75 +2 -1 src/sys/vm/vm_object.h
1.174 +2 -2 src/sys/vm/vm_page.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110260008.f9Q086v36985>
