cvs commit: src/sys/kern vfs_cache.c

Jeff Roberson jeff at
Mon Jan 24 02:24:12 PST 2005

jeff        2005-01-24 10:24:12 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_cache.c 
   - Simplify the cache locking.  The lock order relationship with the
     vnode lock is much simpler than I originally thought it would be.
     Now, the cache lock is  always acquired before the vnode lock.
   - Provide some gotos in __getcwd() to simplify the unlocking a bit.
   - Move Giant acquisition down into __getcwd().
  Sponsored By:   Isilon Systems, Inc.
  Revision  Changes    Path
  1.89      +33 -37    src/sys/kern/vfs_cache.c

More information about the cvs-all mailing list