[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071012130107.6f1c8421.akpm@linux-foundation.org>
Date: Fri, 12 Oct 2007 13:01:07 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
Cc: viro@....linux.org.uk, kamezawa.hiroyu@...fujitsu.com,
linux-kernel@...r.kernel.org, sam@...nborg.org,
netdev@...r.kernel.org
Subject: Re: 2.6.23-mm1 thread exit_group issue
On Fri, 12 Oct 2007 15:47:59 -0400
Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca> wrote:
> I noticed a regression between 2.6.23-rc8-mm2 and 2.6.23-mm1 (with your
> hotfixes). User space threads seems to receive a ERESTART_RESTARTBLOCK
> as soon as a thread does a pthread_join on them. The previous behavior
> was to wait for them to exit by taking a futex.
>
> I provide a toy program that shows the problem. On 2.6.23-rc8-mm2, it
> loops forever (as it should). On 2.6.23-mm1, it exits after 10 seconds.
>
> Any idea on what may cause this problem ?
>
> (I also provide complete ptrace -f of a correct and buggy run and my
> kernel config. Tests were done on i386.)
No idea. But I can reproduce it here so I'll bisect it now. Thanks
for the test case!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists