[CRIU] [PATCH] parasite: Don't handle CHLD from trapping threads
Andrew Vagin
avagin at parallels.com
Thu Oct 23 12:27:34 PDT 2014
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
More information about the CRIU
mailing list