]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Remove explicit Giant protection from lockf. Use the vnode interlock
authorJeff Roberson <jeff@FreeBSD.org>
Tue, 3 Jul 2007 21:22:58 +0000 (21:22 +0000)
committerJeff Roberson <jeff@FreeBSD.org>
Tue, 3 Jul 2007 21:22:58 +0000 (21:22 +0000)
commitbc02f1d98ddb492228c223906ddda11be87b48fb
treeb3bee413a8515b52559a18483a0c58e5062193ee
parentfb1faf2082a2dd0dd8d18d2174e1e3313f37a40d
 - Remove explicit Giant protection from lockf.  Use the vnode interlock
   to protect this datastructure instead.
 - Preallocate an extra lockf structure in case we want to split a lock
   on insert or delete.
 - msleep() on the vnode interlock when blocking on a lock.

Reviewed by: rwatson
Approved by: re
sys/kern/kern_lockf.c