From owner-cvs-all Fri Jan 28 12:40:33 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0511014FF7; Fri, 28 Jan 2000 12:40:31 -0800 (PST) (envelope-from green@FreeBSD.org) Received: (from green@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA90156; Fri, 28 Jan 2000 12:40:30 -0800 (PST) (envelope-from green@FreeBSD.org) Message-Id: <200001282040.MAA90156@freefall.freebsd.org> From: Brian Feldman Date: Fri, 28 Jan 2000 12:40:30 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys proc.h resourcevar.h src/sys/kern kern_resource.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk green 2000/01/28 12:40:30 PST Modified files: sys/sys proc.h resourcevar.h sys/kern kern_resource.c Log: Fix a bug that could crash the system if you press ^T while a slower system is slowed down and in the right spot (a race condition in fork()). The "previous time" fields have moved from pstat to proc. Anything which uses KVM needs to be recompiled with a new libkvm/headers. A couple wacky u_quad_t's in struct proc are now u_int64_t (the same, but according to lack of 'quad's in proc.h and usage in kern_resource.c). This will have no effect on code. This has been make-world-and-installed-new-kernel-which-works-fine-tested. Reviewed by: bde (previous version) Revision Changes Path 1.99 +8 -5 src/sys/sys/proc.h 1.16 +1 -4 src/sys/sys/resourcevar.h 1.54 +17 -18 src/sys/kern/kern_resource.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message