[CRIU] [PATCHv2 0/9] Large pages support for aarch64/ppc64
Dmitry Safonov
dima at arista.com
Wed Mar 28 19:19:44 MSK 2018
v2 Changes:
o Add patches for global variables in PIEs
o Simplify ARCH_HAS_LONG_PAGES
o cache PAGE_SIZE and PAGE_SHIFT values
(as nitpicked by Mike)
Adrian, I've removed your Tested-by, as the set differs a bit from
the previous version. Mind to check that everything still works in v2?
TLDR; CRIU doesn't work if:
on aarch64 it's when PAGE_SIZE!=4K,
on ppc64 it's when PAGE_SIZE!=64K
Cc: Adrian Reber <areber at redhat.com>
Cc: Mike Rapoport <rppt at linux.vnet.ibm.com>
Dmitry Safonov (9):
criu: Remove PAGE_IMAGE_SIZE
parasite: Rename misnamed nr_pages
criu/dump: Fix size of personality buffer
criu/log: Define log buffer length without PAGE_SIZE
criu/proc: Define BUF_SIZE without PAGE_SIZE dependency
make: Compile with -fno-common everything (criu/pie/etc)
compel: Show descriptive error on common symbols
compel/criu: Add ARCH_HAS_LONG_PAGES to PIE binaries
ppc64/aarch64: Dynamically define PAGE_SIZE
Makefile | 1 +
compel/include/rpc-pie-priv.h | 3 +++
compel/plugins/std/infect.c | 8 ++++++
compel/src/lib/handle-elf.c | 8 ++++++
compel/src/lib/infect.c | 3 +++
criu/arch/aarch64/crtools.c | 3 +++
criu/arch/ppc64/crtools.c | 3 +++
criu/cr-dump.c | 3 ++-
criu/cr-restore.c | 3 +++
criu/crtools.c | 1 -
criu/include/image.h | 5 ----
criu/include/restorer.h | 3 +++
criu/log.c | 3 ++-
criu/pie/parasite.c | 10 ++++----
criu/pie/restorer.c | 4 +++
criu/proc_parse.c | 6 ++---
include/common/arch/aarch64/asm/page.h | 44 ++++++++++++++++++++++++--------
include/common/arch/ppc64/asm/page.h | 46 +++++++++++++++++++++++-----------
18 files changed, 116 insertions(+), 41 deletions(-)
--
2.13.6
More information about the CRIU
mailing list