cvs commit: src/sys/kern subr_witness.c

Attilio Rao attilio at
Fri Aug 29 15:48:04 UTC 2008

attilio     2008-08-29 15:47:53 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_witness.c 
  SVN rev 182446 on 2008-08-29 15:47:53Z by attilio
  - Make witness_watch a 3 state value.
    1 means that witness is up and running.
    0 means that witness is disabled but that it can be established later
      again in effective way.
    -1 means that witness is disabled permanently
  - Fix a bug causing kernel to panic on witness disabling through
    witness_watch.  lock lists queues were still full of entries and this was
    causing throubles with debugging stubs (like witness_thread_exit()).
  Reported by:    kris, yongari
  Sponsored by:   Nokia
  Revision  Changes    Path
  1.252     +42 -35    src/sys/kern/subr_witness.c

More information about the cvs-all mailing list