Subject: CVS commit: src/sys
To: None <>
From: David Laight <>
List: source-changes
Date: 11/12/2003 21:07:38
Module Name:	src
Committed By:	dsl
Date:		Wed Nov 12 21:07:38 UTC 2003

Modified Files:
	src/sys/compat/svr4: svr4_misc.c
	src/sys/compat/svr4_32: svr4_32_misc.c
	src/sys/kern: kern_exec.c kern_exit.c kern_fork.c kern_ktrace.c
	    kern_proc.c kern_sig.c
	src/sys/sys: param.h proc.h

Log Message:
- Count number of zombies and stopped children and requeue them at the top
  of the sibling list so that find_stopped_child can be optimised to avoid
  traversing the entire sibling list - helps when a process has a lot of
- Modify locking in pfind() and pgfind() to that the caller can rely on the
  result being valid, allow caller to request that zombies be findable.
- Rename pfind() to p_find() to ensure we break binary compatibility.
- Remove svr4_pfind since p_find willnow do the job.
- Modify some of the SMP locking of the proc lists - signals are still stuffed.

Welcome to 1.6ZF

To generate a diff of this commit:
cvs rdiff -r1.106 -r1.107 src/sys/compat/svr4/svr4_misc.c
cvs rdiff -r1.24 -r1.25 src/sys/compat/svr4_32/svr4_32_misc.c
cvs rdiff -r1.174 -r1.175 src/sys/kern/kern_exec.c
cvs rdiff -r1.127 -r1.128 src/sys/kern/kern_exit.c
cvs rdiff -r1.112 -r1.113 src/sys/kern/kern_fork.c
cvs rdiff -r1.81 -r1.82 src/sys/kern/kern_ktrace.c
cvs rdiff -r1.67 -r1.68 src/sys/kern/kern_proc.c
cvs rdiff -r1.177 -r1.178 src/sys/kern/kern_sig.c
cvs rdiff -r1.181 -r1.182 src/sys/sys/param.h
cvs rdiff -r1.175 -r1.176 src/sys/sys/proc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.