From owner-cvs-all Thu Oct 25 17: 8:10 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 4DA7A37B405; Thu, 25 Oct 2001 17:08:06 -0700 (PDT) Received: (from dillon@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9Q086v36985; Thu, 25 Oct 2001 17:08:06 -0700 (PDT) (envelope-from dillon) Message-Id: <200110260008.f9Q086v36985@freefall.freebsd.org> From: Matt Dillon Date: Thu, 25 Oct 2001 17:08:05 -0700 (PDT) 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: HEAD 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/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