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/18/2005 08:30:02
The following reply was made to PR kern/29652; it has been noted by GNATS.
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: kern/29652
Date: Thu, 18 Aug 2005 17:29:10 +0900
> panic: kernel diagnostic assertion "p->p_nrlwps == 0" failed: file "/usr/src/sys/kern/kern_exit.c", line 781
as p_nrlwps currently has no locking afaik, the panic is not surprising. :)
proc.h claims it's protected by p_lock, but i think
sched_lock is more straightforward lock to use.
YAMAMOTO Takashi