From owner-freebsd-hackers Fri Nov 15 19:20:53 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA06333 for hackers-outgoing; Fri, 15 Nov 1996 19:20:53 -0800 (PST) Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id TAA06307 for ; Fri, 15 Nov 1996 19:20:37 -0800 (PST) Received: by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) id AA20622; Fri, 15 Nov 1996 22:20:02 -0500 Received: from lambert.org by dg-rtp.dg.com.rtp.dg.com; Fri, 15 Nov 1996 22:20 EST Received: from dg-rtp.UUCP (uucp@localhost) by ponds.water.net (8.7.5/8.7.3) with UUCP id SAA25216 for freefall.cdrom.com!freebsd-hackers; Fri, 15 Nov 1996 18:57:48 -0500 (EST) Received: from reggae.ncren.net by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) id AA15605; Fri, 15 Nov 1996 14:45:10 -0500 Received: from mcnc.UUCP by reggae.ncren.net (5.65/tas-reggae/may94) id AA13097; Fri, 15 Nov 96 14:45:01 -0500 Received: from ncnoc.ncren.net by reggae.ncren.net (5.65/tas-reggae/may94) id AA13003; Fri, 15 Nov 96 14:37:06 -0500 Received: from robin.mcnc.org (robin.mcnc.org [128.109.130.29]) by ncnoc.ncren.net (8.7.4/8.7.3) with SMTP id NAA02331; Fri, 15 Nov 1996 13:28:29 -0500 (EST) Received: from ns.mcnc.org by robin.mcnc.org (8.6.9/MCNC/8-10-92) id NAA13139; Fri, 15 Nov 1996 13:26:36 -0500 for Received: from robin.mcnc.org by ns.mcnc.org (SMI-8.6/SAM 100194 13:34:37) id SAA05197; Fri, 15 Nov 1996 18:27:39 GMT Received: from ns.mcnc.org by robin.mcnc.org (8.6.9/MCNC/8-10-92) id NAA13006; Fri, 15 Nov 1996 13:24:48 -0500 for Received: from relay6.UU.NET by ns.mcnc.org (SMI-8.6/SAM 100194 13:34:37) id SAA05194; Fri, 15 Nov 1996 18:25:51 GMT Received: from coyote.Artisoft.COM by relay6.UU.NET with ESMTP (peer crosschecked as: coyote.Artisoft.COM [198.17.250.162]) id QQbpyv25294; Fri, 15 Nov 1996 13:24:40 -0500 (EST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by coyote.Artisoft.COM (8.7.6/8.7.3) with SMTP id LAA15327; Fri, 15 Nov 1996 11:22:55 -0700 (MST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA26498; Fri, 15 Nov 1996 11:09:36 -0700 Posted-Date: Fri, 15 Nov 1996 18:25:51 GMT From: Terry Lambert Message-Id: <199611151809.LAA26498@phaeton.artisoft.com> Subject: Re: daily panics - the saga continues... To: ponds!ponds!rivers (Thomas David Rivers) Date: Fri, 15 Nov 1996 11:09:36 -0700 (MST) Cc: ponds!lambert.org!terry, ponds!Artisoft.COM!ponds!rivers, ponds!Artisoft.COM!ponds!freefall.cdrom.com!freebsd-hackers In-Reply-To: <199611150156.UAA20755@lakes.water.net> from "Thomas David Rivers" at Nov 14, 96 08:56:14 pm X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Sounds like a reasonable explanation.... but... > > In the 2.1.5R and 2.1.5-STABLE code, there is no call to > simple_unlock(&vnode_free_list_slock) - in fact, there is no > simple_unlock() in the entire kern sub-directory... > > I think there's some 2.1.5 vs. -current confusion? Shit. My local machine has BSD4.4-Lite2 integrated... sorry. 8-(. Which code, exactly, are you running? > if (freevnodes < (numvnodes >> 2) || > numvnodes < desiredvnodes || > ! vp == NULL || /* list empty */ > ! vp->v_usecount) /* queue wrapped */ > ! { For your code, this might need to be: > if (freevnodes < (numvnodes >> 2) || > numvnodes < desiredvnodes || > ! vp == NULL || /* list empty */ > ! (vp->v_usecount && vp->v_usage == 0)) /* queue wrapped */ > ! { Damn, I'm getting old. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.