Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Oct 2004 05:31:30 -0400 (EDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Brian Feldman <green@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern subr_witness.c
Message-ID:  <Pine.NEB.3.96L.1041009053042.93055E-100000@fledge.watson.org>
In-Reply-To: <200410090816.i998Gbs5076009@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 9 Oct 2004, Brian Feldman wrote:

> green       2004-10-09 08:16:37 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             subr_witness.c 
>   Log:
>   Don't "implicitly order all sleep locks before spin locks" in witness
>   when the spin lock in question isn't -- it's the critical_enter() that
>   KDB set.  No more panic in DDB for console -> syscons -> tty -> knote
>   operations.

I don't have an opinion on whether this is a good change, but I will say
that the bug you're seeing is a bug in the syscons code, not the result of
a witness bug.  syscons should not be calling into the tty code from the
polled I/O interface used by the debugger, and hence should never make it
to the KQ code.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Principal Research Scientist, McAfee Research




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1041009053042.93055E-100000>