From owner-cvs-all Sat Nov 3 11:59:34 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3CE7337B419; Sat, 3 Nov 2001 11:59:29 -0800 (PST) Received: (from dillon@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA3JxTG78019; Sat, 3 Nov 2001 11:59:29 -0800 (PST) (envelope-from dillon) Message-Id: <200111031959.fA3JxTG78019@freefall.freebsd.org> From: Matt Dillon Date: Sat, 3 Nov 2001 11:59:29 -0800 (PST) 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 X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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