cvs commit: src/sys/kern subr_witness.c

Brian Fundakowski Feldman green at FreeBSD.org
Sat Oct 9 03:25:59 PDT 2004


On Sat, Oct 09, 2004 at 01:25:39AM -0700, Don Lewis wrote:
> On  9 Oct, 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.
> 
> If I'm understanding this correctly, calling knote sounds like the wrong
> thing to do in this situation ...

There's previous little that can be done "right," from within DDB....

-- 
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