Date: Tue, 22 Apr 2003 13:50:39 -0700 (PDT) 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 sched_4bsd.c sched_ule.c Message-ID: <200304222050.h3MKodSV077465@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2003/04/22 13:50:39 PDT FreeBSD src repository Modified files: sys/kern sched_4bsd.c sched_ule.c Log: - Assert that the proc lock and sched_lock are held in sched_nice(). - For the 4BSD scheduler, this means that all callers of the static function resetpriority() now always hold sched_lock, so don't lock sched_lock explicitly in that function. Revision Changes Path 1.16 +3 -2 src/sys/kern/sched_4bsd.c 1.31 +2 -0 src/sys/kern/sched_ule.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304222050.h3MKodSV077465>