Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2002 12:53:44 -0700
From:      Alex Zepeda <zipzippy@sonic.net>
To:        Don Lewis <dl-freebsd@catspoiler.org>, current@freebsd.org
Subject:   Re: sleeping with "mntvnode" locked...
Message-ID:  <20020819195344.GA2182@blarf.homeip.net>
In-Reply-To: <200208190856.g7J8ucwr027114@gw.catspoiler.org>
References:  <20020819083238.GA739@blarf.homeip.net> <200208190856.g7J8ucwr027114@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 19, 2002 at 01:56:38AM -0700, Don Lewis wrote:

> This is getting triggered by the kern.vnode sysctl.  SMP or UP?

SMP kernel, 1 processor until I find a lower profile heatsink.

> Offhand
> I have a hard time seeing how the sequence
> 	vref(vp)
> 	do cpu bound stuff
> 	vrele(vp)
> would do anything other than increment and decrement the vnode reference
> count on a UP box.  Even on an SMP box, what are the chances that some
> other process would vrele() a vnode while the sysctl handler had a
> reference to it and was copying some data from it?
> 
> Does "sysctl kern.vnode" trigger this panic while the machine is idle?

I can only assume no, as I've run sysctl -a many times in a row before
that crash and since that crash and it's yet to crash again with that
crash (it did fall over with a most recently used by temp panic after
about five hours tho).

- alex

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020819195344.GA2182>