Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2003 10:41:21 +0100
From:      Stefan Ehmann <shoesoft@gmx.net>
To:        freebsd-current@FreeBSD.org
Subject:   Re: panic on 5.2 BETA: blockable sleep lock
Message-ID:  <1069926080.891.0.camel@shoeserv.freebsd>
In-Reply-To: <200311260733.hAQ7XVeF012283@gw.catspoiler.org>
References:  <200311260733.hAQ7XVeF012283@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2003-11-26 at 08:33, Don Lewis wrote:
> The problem is that selrecord() wants to lock a MTX_DEF mutex, which
can
> cause a context switch if the mutex is already locked by another
thread.
> This is contrary to what bktr_poll() wants to accomplish by calling
> critical_enter().

Strange enough that does not seem to happen with a kernel built without
INVARIANTS and WITNESS. Does this make any sense or is this just by
chance?



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