Date: Fri, 27 Nov 1998 03:44:26 -0800 (PST) From: David Greenman <dg@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_synch.c Message-ID: <199811271144.DAA10614@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dg 1998/11/27 03:44:26 PST
Modified files:
sys/kern kern_synch.c
Log:
Compare p_cpulimit with RLIM_INFINITY before comparing it with the process
runtime. p_runtime is unsigned while p_cpulimit is not, so this avoids the
nasty side effect of the process getting killed when the runtime comes up
"negative" due to other bugs.
Revision Changes Path
1.69 +3 -2 src/sys/kern/kern_synch.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811271144.DAA10614>
