[CRIU] [PATCHv4 0/3] Fix TASK_HELPER deadlock on futex

Dmitry Safonov dsafonov at virtuozzo.com
Thu Jul 20 18:21:19 MSK 2017


v4: call block_sigmask(NULL, SIGCHLD)
    and add more comments

v3: some more nitpicks from Kirill

v2: use wait(-1) instead of SIGCHLD handler.
  While it may look uglier, there is no difference really
  as we need to check the stage anyway on which a child has died.

Cc: Kirill Tkhai <ktkhai at virtuozzo.com>

Dmitry Safonov (3):
  pstree: Add nspid() helper
  restore: Fix deadlock when helper's child dies
  fault-inj: Silently dying helper's child

 criu/cr-restore.c              | 126 ++++++++++++++++++++++++++++++++---------
 criu/include/fault-injection.h |   1 +
 criu/include/pstree.h          |   6 +-
 test/jenkins/criu-fault.sh     |   1 +
 4 files changed, 105 insertions(+), 29 deletions(-)

-- 
2.13.3



More information about the CRIU mailing list