cvs commit: src/sys/kern kern_lockf.c

Jeff Roberson jeff at FreeBSD.org
Tue Jul 3 21:22:59 UTC 2007


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
  
  Revision  Changes    Path
  1.56      +56 -54    src/sys/kern/kern_lockf.c


More information about the cvs-all mailing list