[CRIU] [PATCH cr 1/2] restore: use a currect stack for new processes (v3)

Andrey Vagin avagin at openvz.org
Sat Aug 25 16:47:03 EDT 2012


Why do we need a new stack? We already have one and it can be used.

We need to step a bit for executing a glibc clone()

v2: Don't lose a page from a child's stack
v3: Remove the defined constant STACK_SIZE

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 cr-restore.c |   22 ++++------------------
 1 files changed, 4 insertions(+), 18 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-restore-use-a-currect-stack-for-new-processes-v3.patch
Type: text/x-patch
Size: 1563 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120826/d7a80f96/0001-restore-use-a-currect-stack-for-new-processes-v3.bin


More information about the CRIU mailing list