[CRIU] [PATCH 01/10] restore: Remove bogus futex kick

Pavel Emelyanov xemul at virtuozzo.com
Fri Apr 28 05:27:24 PDT 2017


The restore_switch_stage() already waits tasks at the
end, so there's no need in one more waiting.

Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
 criu/cr-restore.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/criu/cr-restore.c b/criu/cr-restore.c
index 0c9f42b..daa8a88 100644
--- a/criu/cr-restore.c
+++ b/criu/cr-restore.c
@@ -1934,11 +1934,6 @@ static int restore_root_task(struct pstree_item *init)
 		goto out_kill;
 
 	ret = restore_switch_stage(CR_STATE_POST_RESTORE_NS);
-	if (ret < 0)
-		goto out_kill;
-
-	pr_info("Wait until namespaces are created\n");
-	ret = restore_wait_inprogress_tasks();
 	if (ret)
 		goto out_kill;
 
-- 
2.1.4



More information about the CRIU mailing list