From owner-cvs-all Tue Dec 18 12:48:59 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 7E28837B416; Tue, 18 Dec 2001 12:48:54 -0800 (PST) Received: (from dillon@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBIKmsw61056; Tue, 18 Dec 2001 12:48:54 -0800 (PST) (envelope-from dillon) Message-Id: <200112182048.fBIKmsw61056@freefall.freebsd.org> From: Matt Dillon Date: Tue, 18 Dec 2001 12:48:54 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c vfs_vnops.c src/sys/sys vnode.h 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/12/18 12:48:54 PST Modified files: sys/kern vfs_subr.c vfs_vnops.c sys/sys vnode.h Log: This is a forward port of Peter's vlrureclaim() fix, with some minor mods by me to make it more efficient. The original code had serious balancing problems and could also deadlock easily. This code relegates the vnode reclamation to its own kproc and relaxes the vnode reclamation requirements to better maintain kern.maxvnodes. This code still doesn't balance as well as it could, but it does a much better job then the original code. Approved by: re@freebsd.org Obtained from: ps, peter, dillon MFS Assuming: Assuming no problems crop up in Yahoo testing MFC after: 7 days Revision Changes Path 1.332 +74 -8 src/sys/kern/vfs_subr.c 1.125 +2 -1 src/sys/kern/vfs_vnops.c 1.165 +2 -2 src/sys/sys/vnode.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message