[CRIU] [PATCH 4/4] dump: Skip restorer stack on re-dump

Cyrill Gorcunov gorcunov at openvz.org
Fri Jul 20 13:33:30 EDT 2012


In case if we're checkpointing previously restored
program we might carry redundant zero-size VMA from
clone's stack used in restorer.

But restoring VMA with zero size if forbitten by mmap
call, thus simply ignore such VMA at dumping time, until
a more graceful way to resolve this problem is found.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-dump.c |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-dump-Skip-restorer-stack-on-re-dump.patch
Type: text/x-patch
Size: 1086 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120720/745e7666/0004-dump-Skip-restorer-stack-on-re-dump.bin


More information about the CRIU mailing list