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

Pavel Emelyanov xemul at parallels.com
Tue Feb 5 16:39:01 EST 2013


On 02/06/2013 12:34 AM, Cyrill Gorcunov wrote:
> 
> 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(-)
> 


Applied, thanks, guys!


More information about the CRIU mailing list