criu/arch/aarch64
Christopher Covington 69d008d567 Use run-time page_size() for mremap
The old and new address parameters passed to the mremap system
call must be page size aligned. On AArch64, the page size can
only be correctly determined at run time. This fixes the following
errors for CRIU on AArch64 kernels with CONFIG_ARM64_64K_PAGES=y.

      call mremap(0x3ffb7d50000, 8192, 8192, MAYMOVE | FIXED, 0x2a000)
  Error (rst-malloc.c:201): Can't mremap rst mem: Invalid argument

      call mremap(0x3ffb7d90000, 8192, 8192, MAYMOVE | FIXED, 0x32000)
  Error (rst-malloc.c:201): Can't mremap rst mem: Invalid argument

Signed-off-by: Christopher Covington <cov@codeaurora.org>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-07-28 13:38:30 +03:00
..
include/asm Use run-time page_size() for mremap 2015-07-28 13:38:30 +03:00
cpu.c cpuinfo: arm -- Fix build 2014-10-03 16:20:10 +04:00
crtools.c crtools.c: fix compilation by clang 2015-05-05 13:44:34 +03:00
intraprocedure.S Customize AArch64 VDSO code 2014-08-06 19:00:17 +04:00
Makefile cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
parasite-head.S cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
restorer.c cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
syscall-common.S cr: implemented the support for the AArch64 architecture 2014-04-11 15:19:01 +04:00
vdso-pie.c vdso: aarch64 -- Merge fixes from x86 2014-08-07 10:23:02 +04:00
vdso.c proc: Use fopen_proc instead of fopen("/proc...") 2014-09-18 20:26:20 +04:00