Commit 5cadfef1 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

restore: Add a comment about stack size used in restore procedure

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 4d3b3e81
...@@ -1224,6 +1224,12 @@ static int restore_one_task(int pid) ...@@ -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) #define STACK_SIZE (8 * 4096)
struct cr_clone_arg { struct cr_clone_arg {
int pid, fd; int pid, fd;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment