Date: Mon, 26 Feb 2001 15:27:35 -0800 (PST) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern init_main.c kern_fork.c kern_mutex.c Message-ID: <200102262327.f1QNRZu52746@freefall.freebsd.org>
index | next in thread | raw e-mail
jake 2001/02/26 15:27:35 PST
Modified files:
sys/kern init_main.c kern_fork.c kern_mutex.c
Log:
Initialize native priority to PRI_MAX. It was usually 0 which made a
process's priority go through the roof when it released a (contested)
mutex. Only set the native priority in mtx_lock if hasn't already
been set.
Reviewed by: jhb
Revision Changes Path
1.161 +2 -1 src/sys/kern/init_main.c
1.102 +2 -1 src/sys/kern/kern_fork.c
1.53 +3 -12 src/sys/kern/kern_mutex.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102262327.f1QNRZu52746>
