[CRIU] Restoring failed on ARMv7

Christopher Covington cov at codeaurora.org
Thu Nov 5 07:12:01 PST 2015


On 11/05/2015 09:33 AM, Artem Kuzmitskiy wrote:
> 2015-11-05 16:30 GMT+03:00 Artem Kuzmitskiy <artem.kuzmitskiy at gmail.com
> <mailto:artem.kuzmitskiy at gmail.com>>:
> 
>     $ cat .config | grep VMSPL
> 
>     CONFIG_VMSPLIT_2G=y
> 
>     Correspond to kernel patch TASK_SIZE should be
>     +#define TASK_SIZE (UL(0x80000000) - UL(0x01000000))
> 
>     We'll make dirty patch and check it.
> 
> Couple of our tests is passed. Thank you.
> Regarding patch I guess we can calculate this value like a in patch for
> AArch64. Am I right?

Yes, just modify task_size() in arch/arm/include/asm/types.h. A debug print in
kerndat.c displays what size is detected.

(00.005946) Found task size of bf000000

Regards,
Christopher Covington

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


More information about the CRIU mailing list