]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Re-introduce WITNESS support for lockmgr. About the old implementation
authorattilio <attilio@FreeBSD.org>
Sat, 12 Apr 2008 19:57:30 +0000 (19:57 +0000)
committerattilio <attilio@FreeBSD.org>
Sat, 12 Apr 2008 19:57:30 +0000 (19:57 +0000)
commit7ba94cc4496c5cac5ae24fbe82fe73ef1b300506
tree3f1f4c2de65ff6045c3a73473726e638c8ce2711
parentc7e894e8b0e9bdaf380328d6ca4d813f4443304c
- 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.
sys/kern/kern_lock.c
sys/kern/subr_witness.c