From owner-freebsd-hackers Mon Nov 18 15:21:05 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA21166 for hackers-outgoing; Mon, 18 Nov 1996 15:21:05 -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 PAA21152 for ; Mon, 18 Nov 1996 15:20:48 -0800 (PST) Received: by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) id AA00235; Mon, 18 Nov 1996 18:20:09 -0500 Received: from dg-rtp by dg-rtp.dg.com.rtp.dg.com; Mon, 18 Nov 1996 18:20 EST Received: from dg-rtp.UUCP (uucp@localhost) by ponds.water.net (8.7.5/8.7.3) with UUCP id PAA00826 for freefall.cdrom.com!freebsd-hackers; Mon, 18 Nov 1996 15:26:40 -0500 (EST) Received: from reggae.ncren.net by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) id AA16234; Mon, 18 Nov 1996 14:28:46 -0500 Received: from mcnc.UUCP by reggae.ncren.net (5.65/tas-reggae/may94) id AA25372; Mon, 18 Nov 96 14:27:52 -0500 Received: from ncnoc.ncren.net by reggae.ncren.net (5.65/tas-reggae/may94) id AA24914; Mon, 18 Nov 96 13:51:24 -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 NAA20414 for ; Mon, 18 Nov 1996 13:38:58 -0500 (EST) Received: from ns.mcnc.org by robin.mcnc.org (8.6.9/MCNC/8-10-92) id NAA20286; Mon, 18 Nov 1996 13:37:03 -0500 for Received: from robin.mcnc.org by ns.mcnc.org (SMI-8.6/SAM 100194 13:34:37) id SAA06767; Mon, 18 Nov 1996 18:38:11 GMT Received: from ns.mcnc.org by robin.mcnc.org (8.6.9/MCNC/8-10-92) id WAA10335; Fri, 15 Nov 1996 22:21:49 -0500 for Received: from relay6.UU.NET by ns.mcnc.org (SMI-8.6/SAM 100194 13:34:37) id DAA05481; Sat, 16 Nov 1996 03:22:52 GMT Received: from coyote.Artisoft.COM by relay6.UU.NET with ESMTP (peer crosschecked as: coyote.Artisoft.COM [198.17.250.162]) id QQbqaf22032; Fri, 15 Nov 1996 22:21:41 -0500 (EST) Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) by coyote.Artisoft.COM (8.7.6/8.7.3) with SMTP id UAA29743 for ; Fri, 15 Nov 1996 20:20:49 -0700 (MST) Received: by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) id AA21228; Fri, 15 Nov 1996 22:20:17 -0500 Received: from ponds by dg-rtp.dg.com.rtp.dg.com; Fri, 15 Nov 1996 22:20 EST Received: from lakes.water.net (lakes [10.0.0.3]) by ponds.water.net (8.7.5/8.7.3) with ESMTP id UAA26831; Fri, 15 Nov 1996 20:17:02 -0500 (EST) Received: (from rivers@localhost) by lakes.water.net (8.7.5/8.6.9) id UAA23050; Fri, 15 Nov 1996 20:18:36 -0500 (EST) Posted-Date: Sat, 16 Nov 1996 03:22:52 GMT Date: Fri, 15 Nov 1996 20:18:36 -0500 (EST) From: Thomas David Rivers Message-Id: <199611160118.UAA23050@lakes.water.net> To: ponds!lambert.org!terry, ponds!uunet.uu.net!ponds!ponds!rivers Subject: Re: daily panics - the saga continues... Cc: ponds!uunet.uu.net!ponds!Artisoft.COM!ponds!freefall.cdrom.com!freebsd-hackers, ponds!uunet.uu.net!ponds!Artisoft.COM!ponds!rivers, ponds!uunet.uu.net!ponds!lambert.org!terry Content-Type: text 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? 2.1.5-STABLE as of Oct. 17th. > > > 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. > Ok, I'll bite - just how old is old? :-) - Dave R. -