Simplify restart logic and fix races

Serge E. Hallyn serue at
Wed Sep 30 20:39:38 PDT 2009

Quoting Oren Laadan (orenl at
> This series simplifies adn tightens the restart logic and solves a
> couple of races that annoyed Serge recently:
> *  c/r: simplify logic of tracking restarting tasks
> *  c/r: let entire thread group in sys_restart before restoring a thread
> *  c/r: introduce walk_task_subtree() to iterate through descendants
> *  c/r: fix restart failure due to a race with ghost/dead tasks
> *  c/r: defer restore of blocked signals mask during restart
> Applies on ckpt-v18, works well on my tests.
> Oren.

I want to review these in detail tomorrow, so I'll send acks
then, but definately

Tested-by: Serge Hallyn <serue at>

This passes all of the tests in git://


More information about the Containers mailing list