cvs commit: src/sys/kern vfs_subr.c

John Baldwin jhb at FreeBSD.org
Tue Nov 7 19:45:26 UTC 2006


jhb         2006-11-07 19:45:05 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_subr.c 
  Log:
  Simplify operations with sync_mtx in sched_sync():
  - Don't drop the lock just to reacquire it again to check rushjob, this
    only wastes time.
  - Use msleep() to drop the mutex while sleeping instead of explicitly
    unlocking around tsleep.
  
  Reviewed by:    pjd
  
  Revision  Changes    Path
  1.691     +3 -7      src/sys/kern/vfs_subr.c


More information about the cvs-src mailing list