Re: [LTP] [PATCH] pthread_detach: avoid threads sharing stack

Wanlong Gao
2012-09-19T01:12:11Z

On 09/18/2012 05:08 PM, Kang Kai wrote:
> On 2012年09月18日 15:10, Wanlong Gao wrote:
>> Hi Kang,
>>
>>> This testcase was observed to crash with segmentation fault:
>>> http://www.mail-archive.com/ltp-list@lists.sourceforge.net/msg14692.html
>
> Hi Wanlong,
>
>> Have you tested this patch from Jan on your system?
>
> It originally fails on routerstation(mips) and test Jan's patch 100 times and pass.
> The patch also passes on x86 with Yocto linux and x86_64 with Ubuntu 11.10.

OK, so, Jan, can you work out a clean patch without coding style change? I mean just
change the code related your theory, it'll make the patch looks more clearly.

OR, style cleanup can go firstly before the theory change within separate patches.

Thanks,
Wanlong Gao