NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/46402 (LWPs created after exit_lwp() is called can hang the process...)
The following reply was made to PR kern/46402; it has been noted by GNATS.
From: Greg Oster <oster%cs.usask.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/46402 (LWPs created after exit_lwp() is called can hang
the process...)
Date: Thu, 20 Sep 2012 07:43:53 -0600
On Wed, 19 Sep 2012 21:23:07 +0000 (UTC)
rmind%NetBSD.org@localhost wrote:
> Synopsis: LWPs created after exit_lwp() is called can hang the
> process...
>
> State-Changed-From-To: analyzed->feedback
> State-Changed-By: rmind%NetBSD.org@localhost
> State-Changed-When: Wed, 19 Sep 2012 21:23:06 +0000
> State-Changed-Why:
> Can you please try the following patch?
>
> http://www.netbsd.org/~rmind/lwp_wait_fix.diff
>
After 376883 iterations on the test loop thing hung:
USER PID %CPU %MEM VSZ RSS TTY STAT STARTED TIME
COMMAND UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT
TTY TIME COMMAND
root 27779 0.0 0.1 798304 1396 ttyp0 DEl+ 2:19AM 0:00.01
(t_cond 0 27779 410 93985 63 0 798304 1396 - DEl+ ttyp0
0:00.01 (t_cond) root 27779 0.0 0.1 798304 1396 ttyp0 DEl+
2:19AM 0:00.01 (t_cond 0 27779 410 93985 95 0 798304 1396
lwpwait DEl+ ttyp0 0:00.01 (t_cond)
(sorry for the cut'n'paste mess... weekend plans have changed, and I
have to run.. I can attempt to test more over the next days...)
Later...
Greg Oster
Home |
Main Index |
Thread Index |
Old Index