[CRIU] [PATCH] parasite: Don't handle CHLD from trapping threads

Pavel Emelyanov xemul at parallels.com
Mon Oct 27 10:32:53 PDT 2014


On 10/23/2014 11:27 PM, Andrew Vagin wrote:
> On Thu, Oct 23, 2014 at 08:31:27PM +0400, Pavel Emelyanov wrote:
>> On 10/14/2014 05:22 PM, Pavel Emelyanov wrote:
>>>>> This expands the window during which dead CRIU results in dead dumpee as
>>>>> after parasite_stop_daemon() the latter is in unrecoverable state (the
>>>>> regs are restored after parasite_munmap()).
>>>>
>>>> No, this doesn't. If criu detaches from a process after
>>>> parasite_stop_daemon(), the process will continue.
>>>
>>> Why is it so?
>>>
>>
>> So, the idea of stopping daemon before trapping threads looks
>> very appealing to me. Should I wait for another patch from you?
> 
> This patch works fine. You can commit it. My problem was fixed in:
> https://github.com/xemul/criu/commit/9498609f897d461b04a8d8ee664d3aa26466d050
> .
> 

OK, applied, thanks


More information about the CRIU mailing list