From owner-cvs-all Fri Nov 27 03:43:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA11035 for cvs-all-outgoing; Fri, 27 Nov 1998 03:43:50 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA11030; Fri, 27 Nov 1998 03:43:48 -0800 (PST) (envelope-from dg@FreeBSD.org) From: David Greenman Received: (from dg@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id DAA10614; Fri, 27 Nov 1998 03:44:26 -0800 (PST) Date: Fri, 27 Nov 1998 03:44:26 -0800 (PST) Message-Id: <199811271144.DAA10614@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_synch.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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