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
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to