cvs commit: src/sys/ufs/ufs ufs_vnops.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed May 23 11:06:11 UTC 2007


pjd         2007-05-23 11:06:09 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ufs          ufs_vnops.c 
  Log:
  Eliminate VI_LOCK()/VI_UNLOCK() pair from getattr and close code paths.
  It's hard to measure performance improvement on my test machine, but the
  change won't degrade performance for sure. I can measure slight improvement
  for debugging kernel and it can also be a win for machines where atomic
  operation is more expensive.
  
  Reviewed by:    kib
  
  Revision  Changes    Path
  1.290     +27 -20    src/sys/ufs/ufs/ufs_vnops.c


More information about the cvs-src mailing list