cvs commit: src/sys/kern kern_lockf.c

Christian S.J. Peron csjp at FreeBSD.org
Wed Jul 4 01:24:40 UTC 2007


On Tue, Jul 03, 2007 at 09:22:58PM +0000, Jeff Roberson wrote:
> jeff        2007-07-03 21:22:58 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             kern_lockf.c 
>   Log:
>    - 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
>   

Jeff,

This is great. Thanks for you work on this!

-- 
Christian S.J. Peron
csjp at FreeBSD.ORG
FreeBSD Committer


More information about the cvs-src mailing list