Subject: Re: CVS commit: src/sys
To: None <dsl@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: source-changes
Date: 12/12/2003 20:53:15
hi,

> 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
>   children.
> - 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

this change seems to break ktrace.
now ktrace_common() calls ktrops(), which might sleep,
with proclist lock held.

YAMAMOTO Takashi