Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2002 19:37:07 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Jeffrey Hsu <hsu@FreeBSD.org>
Cc:        current@freebsd.org, sidcarter@symonds.net
Subject:   Re: Crash after world/kernel upgrade
Message-ID:  <XFMail.20020613193707.jhb@FreeBSD.org>
In-Reply-To: <0GXN0079TXWQGN@mta5.snfc21.pbi.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 13-Jun-2002 Jeffrey Hsu wrote:
> Duplicate inp warnings occur whenever 2 inp locks are held, even though they're
> on different inps, because all the inp locks are named "inp".  I've
> investigated a couple of these already and they were all places where
> we intended to grab two inp locks.  So, for the most part, these warning are
> harmless.  As John said though, panics are serious, so if you get any of
> those, please report them to me directly, as I only monitor this list
> periodically.

How do you define the order between teh two inp locks to ensure you don't end
up deadlocking?  That is why the warning is there.  Unless you have a well-defined
lock order between inp locks you can easily get into deadlocks.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.20020613193707.jhb>