]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Use a different encoding for lockmgr options: make them encoded by
authorAttilio Rao <attilio@FreeBSD.org>
Mon, 7 Apr 2008 14:46:38 +0000 (14:46 +0000)
committerAttilio Rao <attilio@FreeBSD.org>
Mon, 7 Apr 2008 14:46:38 +0000 (14:46 +0000)
commite0f62984c1f53dfc174a2958ab23ef3c7c52f5c1
treeb6a3688122ffa2d58f1113be86a4af4d90cc2b52
parentfc9299dd1b0626f079881e3005a32ef52886b905
- Use a different encoding for lockmgr options: make them encoded by
  bit in order to allow per-bit checks on the options flag, in particular
  in the consumers code [1]
- Re-enable the check against TDP_DEADLKTREAT as the anti-waiters
  starvation patch allows exclusive waiters to override new shared
  requests.

[1] Requested by: pjd, jeff
sys/kern/kern_lock.c
sys/sys/lockmgr.h