Date: Fri, 15 Nov 1996 11:09:36 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: ponds!ponds!rivers (Thomas David Rivers) Cc: ponds!lambert.org!terry, ponds!Artisoft.COM!ponds!rivers, ponds!Artisoft.COM!ponds!freefall.cdrom.com!freebsd-hackers Subject: Re: daily panics - the saga continues... Message-ID: <199611151809.LAA26498@phaeton.artisoft.com> In-Reply-To: <199611150156.UAA20755@lakes.water.net> from "Thomas David Rivers" at Nov 14, 96 08:56:14 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611151809.LAA26498>