[CRIU] [PATCH 08/10] restore: Add a comment about stack size used
in restore procedure
Cyrill Gorcunov
gorcunov at openvz.org
Fri Feb 24 18:24:29 EST 2012
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
cr-restore.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/cr-restore.c b/cr-restore.c
index 8208509..3982154 100644
--- a/cr-restore.c
+++ b/cr-restore.c
@@ -1224,6 +1224,12 @@ static int restore_one_task(int pid)
}
}
+/*
+ * This stack size is important for the restorer
+ * itself only. At the final phase, we will switch
+ * to the original stack the program had at checkpoint
+ * time.
+ */
#define STACK_SIZE (8 * 4096)
struct cr_clone_arg {
int pid, fd;
--
1.7.7.6
More information about the CRIU
mailing list