[CRIU] [PATCH cr] dump: save all vdso pages (v2)

Andrey Vagin avagin at openvz.org
Mon Aug 20 07:09:52 EDT 2012


If a vdso page was not accessed before dump, it's not present
and now it doesn't save in a dump image.
The vdso area is restored as VMA_ANON, it isn't an actual vdso more,
so when a not-present vdso page is accessed, a zero page would be mapped.

For this reason we should save all vdso pages in a image.

v2: make code more clear

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 parasite.c |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dump-save-all-vdso-pages-v2.patch
Type: text/x-patch
Size: 755 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120820/8cfb546d/0001-dump-save-all-vdso-pages-v2.bin


More information about the CRIU mailing list