[CRIU] [RFC 1/3] Use run-time page_size() in pie_size()
Cyrill Gorcunov
gorcunov at gmail.com
Fri Jul 24 01:03:16 PDT 2015
On Thu, Jul 23, 2015 at 07:59:48AM -0400, Christopher Covington wrote:
> This fixes the following error for CRIU on AArch64 kernels with
> CONFIG_ARM64_64K_PAGES=y.
>
> Error (cr-restore.c:2828): Can't mmap section for restore code
>
> This occurred because the address being requested (0x16000 in
> one case) was not page aligned.
>
> Also change the capitalization of the pie_size() macro to make it
> clear that the value is not necessarily a build-time constant.
>
> Signed-off-by: Christopher Covington <cov at codeaurora.org>
Acked-by: Cyrill Gorcunov <gorcunov at openvz.org>
More information about the CRIU
mailing list