threads/119920: fork broken in libpthread

Landon Fuller landonf at bikemonkey.org
Thu Jan 31 11:28:20 PST 2008


On Jan 31, 2008, at 11:25, Julian Elischer wrote:

> Landon Fuller wrote:
>> On Jan 31, 2008, at 10:44, Julian Elischer wrote:
>>> the releng 6 and releng 7 versions of this patch are at:
>>>
>>> http://www.freebsd.org/~julian/kse-6.diff
>>>
>>> and
>>>
>>> http://www.freebsd.org/~julian/kse-7.diff
>>>
>>>
>>> but the one for 7 is just speculative.
>>>
>>> I don't have a 7.x system to test.
>>>
>>>
>>> Landon, what is your test case?
>>>
>> Inlined below. On our 8-core 6.3 system without this patch, the  
>> fork() threads wedge and spin in <2 minutes. With the patch, works  
>> as expected.
>
> when you say "wedge and spin"  what do you see in top?
>
> which is it , wedge, or spin?

The children processes spin (in either sigprocmask() or  
_lockuser_reinit()), and the parent process thread wedges on waitpid().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20080131/827df75e/PGP.pgp


More information about the freebsd-threads mailing list