[CRIU] [PATCH 2/2] restore: do not kill processes if not-all of them have been created

Pavel Emelyanov xemul at parallels.com
Tue Aug 20 07:17:46 EDT 2013


On 08/16/2013 06:46 PM, Andrey Vagin wrote:
> If processes are restored in a current pidns, criu knows pid-s from images
> but a part of them can be busy by external processes.
> 
> CR_STATE_RESTORE_NS and CR_STATE_FORKING can be blocked only the
> task_entries->start futex. This patch is added a new stage
> CR_STATE_FAIL, which signs that something wrong and all processes must
> exit.
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>

Applied


More information about the CRIU mailing list