[CRIU] [PATCH] parasite: page dump -- Map pages huge bitmap inplace

Cyrill Gorcunov gorcunov at openvz.org
Tue Feb 5 15:34:18 EST 2013


In case if there is the VMA which has a huge size (4,8,16 G)
then the prealoocated bitmap space won't be enough to track
all pages. Thus we call for system help invoking mmap() call
with bitmap length needed.

We simply assume that if such big VMA present the node has enough
memory to provide us space for pages huge bitmap.

Reported-by: Adrian Reber <adrian at lisas.de>
Tested-by: Adrian Reber <adrian at lisas.de>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 pie/parasite.c | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-parasite-page-dump-Map-pages-huge-bitmap-inplace.patch
Type: text/x-patch
Size: 1104 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130206/613c0843/attachment.bin>


More information about the CRIU mailing list