From owner-freebsd-stable Tue Jan 15 13:45:44 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.acns.ab.ca (h24-64-56-135.cg.shawcable.net [24.64.56.135]) by hub.freebsd.org (Postfix) with ESMTP id 3AD9737B417 for ; Tue, 15 Jan 2002 13:45:39 -0800 (PST) Received: from colnta.acns.ab.ca (colnta.acns.ab.ca [192.168.1.2]) by mail.acns.ab.ca (8.11.6/8.11.3) with ESMTP id g0FLjbI78022; Tue, 15 Jan 2002 14:45:37 -0700 (MST) (envelope-from davidc@colnta.acns.ab.ca) Received: (from davidc@localhost) by colnta.acns.ab.ca (8.11.6/8.11.3) id g0FLjbm12286; Tue, 15 Jan 2002 14:45:37 -0700 (MST) (envelope-from davidc) Date: Tue, 15 Jan 2002 14:45:37 -0700 From: Chad David To: Rasputin Cc: stable@FreeBSD.ORG Subject: Re: what's vnlru? Message-ID: <20020115144537.A12216@colnta.acns.ab.ca> Mail-Followup-To: Rasputin , stable@FreeBSD.ORG References: <20020115190850.A338@shikima.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020115190850.A338@shikima.mine.nu>; from rasputin@submonkey.net on Tue, Jan 15, 2002 at 07:08:50PM +0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jan 15, 2002 at 07:08:50PM +0000, Rasputin wrote: > > Any ideas? > > I noticed it during shutdown a while back, and found this. revision 1.332 date: 2001/12/18 20:48:53; author: dillon; state: Exp; lines: +74 -8 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 -- Chad David davidc@acns.ab.ca www.FreeBSD.org davidc@freebsd.org ACNS Inc. Calgary, Alberta Canada Fourthly, The constant breeders, beside the gain of eight shillings sterling per annum by the sale of their children, will be rid of the charge of maintaining them after the first year. - Johnathan Swift To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message