[CRIU] [PATCH 12/23] cr-restore.c: use TASK_SIZE instead of TASK_SIZE_MAX

Andrey Vagin avagin at parallels.com
Mon Jan 14 05:44:06 EST 2013


On Mon, Jan 14, 2013 at 02:39:54PM +0400, Alexander Kartashov wrote:
> On 01/14/2013 02:32 PM, Andrey Vagin wrote:
> >I took this from the kernel source:
> >arch/x86/include/asm/processor.h
> >
> >/*
> >  * User space process size. 47bits minus one guard page.
> >  */
> >#define TASK_SIZE_MAX   ((1UL << 47) - PAGE_SIZE)
> 
> Thank you, it seems I declared the macro TASK_SIZE incorrectly
> for x86-64. I'll fix this as soon as possible.

FYI: A bit more info:
http://git.linaro.org/gitweb?p=bsp/st-ericsson/linux-2.6.34-ux500.git;a=commitdiff_plain;h=637716a3825e186555361574aa1fa3c0ebf8018b

Thanks to Cyrill.

> 
> -- 
> Sincerely yours,
> Alexander Kartashov
> 
> Intern
> Core team
> 
> www.parallels.com
> 
> Skype: aleksandr.kartashov
> Email: alekskartashov at parallels.com
> 


More information about the CRIU mailing list