Date: Thu, 30 Nov 2006 08:27:38 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_synch.c Message-ID: <200611300827.kAU8RcLl081301@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2006-11-30 08:27:38 UTC
FreeBSD src repository
Modified files:
sys/kern kern_synch.c
Log:
Only grab the sched_lock if we actually need to modify the thread priority.
During a buildworld only 2/3 of the calls to msleep actually changed
the priority.
Revision Changes Path
1.285 +5 -4 src/sys/kern/kern_synch.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611300827.kAU8RcLl081301>
