cvs commit: src/sys/kern subr_witness.c

Brian Fundakowski Feldman green at FreeBSD.org
Mon Oct 11 12:02:38 PDT 2004


On Sat, Oct 09, 2004 at 05:31:30AM -0400, Robert Watson wrote:
> 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.

Could we get whoever broke syscons to fix it?

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green at FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


More information about the cvs-src mailing list