]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a bug that could crash the system if you press ^T while a slower
authorBrian Feldman <green@FreeBSD.org>
Fri, 28 Jan 2000 20:40:29 +0000 (20:40 +0000)
committerBrian Feldman <green@FreeBSD.org>
Fri, 28 Jan 2000 20:40:29 +0000 (20:40 +0000)
commit8950d2445635ef8789ae96d30feb4b868dc8d1ce
treef85f144074065b4ddb76b34c202ece05b6d9127d
parenta6324d7034f8c6a7e67d322e09211a1ee7d77799
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)
sys/kern/kern_resource.c
sys/sys/proc.h
sys/sys/resourcevar.h