Date: Sat, 3 Nov 2001 11:59:29 -0800 (PST) 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: <200111031959.fA3JxTG78019@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dillon 2001/11/03 11:59:29 PST
Modified files: (Branch: RELENG_4)
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:
MFC implement kern.maxvnodes (primarily kern/vfs_subr.c 1.326), sync,
and other VM optimizations and fixes.
* Add VOBJDIRTY flag to vnode to avoid certain indirections.
* Turn the mount structure vnode list into an LRU queue (LIST -> TAILQ)
* Attempt to reuse vnodes when we hit the maxvnodes limit
* Optimize msync() to avoid unnecessary v_interlocks
* Optimize ffs_sync() for same
* Fix vm_object double-termination bug
* Add KASSERT to ensure that backing object is not freed out from
under remaining VM pages.
These fixes change the mount structure and will create a binary kld module
incompatibility with filesystem kld's, but I deem the scaling issues with
4.x that we are fixing to be more important.
Revision Changes Path
1.249.2.18 +78 -25 src/sys/kern/vfs_subr.c
1.111.2.16 +5 -0 src/sys/sys/vnode.h
1.117.2.6 +16 -11 src/sys/ufs/ffs/ffs_vfsops.c
1.108.2.6 +2 -3 src/sys/vm/vm_fault.c
1.171.2.5 +47 -2 src/sys/vm/vm_object.c
1.63.2.2 +1 -0 src/sys/vm/vm_object.h
1.147.2.12 +1 -1 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?200111031959.fA3JxTG78019>
