Date: Tue, 7 Nov 2006 19:45:05 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c Message-ID: <200611071945.kA7Jj5nD031482@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611071945.kA7Jj5nD031482>
