Subject: Re: kern/29652
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 08/20/2005 14:13:01
The following reply was made to PR kern/29652; it has been noted by GNATS.

From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
To: david@l8s.co.uk
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/29652
Date: Sat, 20 Aug 2005 23:12:10 +0900

 > Last time I looked (and I've not seem anything that might affect it) the
 > locking of the parent/child heirarchy (and lwp one) wasn't correct.
 > 
 > I thought about correcting it - and may have made a few changes - but
 > it is basically a 'lost cause'.  The killer activity is the 're-parenting'
 > that goes on when a process is run under gdb.
 > 
 > Even a process exiting when the parent has set SA_NOCLDWAIT causes grief.
 > Possibly fixable with a carefully constructed lock hierarchy.
 > (linux leaves a zombie lurking until the parent could take the signal)
 
 i don't think that they are related to p_nrlwps.
 hierarchy, re-parenting, etc are about processes, not lwps.
 
 YAMAMOTO Takashi