cvs commit: src/sys/kern kern_exit.c kern_fork.c kern_proc.c
John Baldwin
jhb at FreeBSD.org
Thu May 1 14:16:40 PDT 2003
jhb 2003/05/01 14:16:38 PDT
FreeBSD src repository
Modified files:
sys/kern kern_exit.c kern_fork.c kern_proc.c
Log:
Initialize and destroy the struct proc mutex in the proc zone's init and
fini routines instead of in fork() and wait(). This has the nice side
benefit that the proc lock of any process on the allproc list is always
valid and sched_lock doesn't have to be used to test against PRS_NEW
anymore.
Revision Changes Path
1.213 +0 -1 src/sys/kern/kern_exit.c
1.197 +3 -4 src/sys/kern/kern_fork.c
1.185 +3 -0 src/sys/kern/kern_proc.c
More information about the cvs-all
mailing list