cvs commit: src/sys/kern kern_lock.c subr_witness.c

Attilio Rao attilio at FreeBSD.org
Sat Apr 12 19:57:31 UTC 2008


attilio     2008-04-12 19:57:30 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_lock.c subr_witness.c 
  Log:
  - Re-introduce WITNESS support for lockmgr.  About the old implementation
    the only one difference is that lockmgr*() functions now accept
    LK_NOWITNESS flag which skips ordering for the instanced calling.
  - Remove an unuseful stub in witness_checkorder() (because the above check
    doesn't allow ever happening) and allow witness_upgrade() to accept
    non-try operation too.
  
  Revision  Changes    Path
  1.131     +78 -17    src/sys/kern/kern_lock.c
  1.245     +0 -11     src/sys/kern/subr_witness.c


More information about the cvs-src mailing list