[CRIU] [PATCH 0/4] vDSO code merging

Laurent Dufour ldufour at linux.vnet.ibm.com
Thu Sep 3 07:26:27 PDT 2015


This series is merging all the vDSO handling code spread over the x86,
aarch64 and ppc64 architectures.

The first and last one are dealing with details on the ppc64 architecture,
while the 2 others, the big ones, are dealing with the shared vDSO code.

I did basic tests on x86_64 and ppc64le. Theses tests consisted to
checkpoint a set of process running on top of a vDSO and restoring them on
a kernel running a patched vDSO to force the vDSO proxy to be put in place.

Christopher, I was not able to test it on aarch64. Feel free to ping me if
you want me to run test on this architecture.

Laurent Dufour (4):
  ppc64: Fix pie Makefile
  vdso: merge per arch vdso.c file in a common one
  vdso: Rework vdso processing files
  ppc64/vdso: fixing debug trace

 Makefile                        |  10 +-
 Makefile.crtools                |   2 +-
 arch/aarch64/include/asm/vdso.h | 161 ++-------------
 arch/aarch64/vdso-pie.c         | 401 +-------------------------------------
 arch/aarch64/vdso.c             | 309 -----------------------------
 arch/ppc64/include/asm/vdso.h   | 184 +++---------------
 arch/ppc64/vdso-pie.c           | 414 +--------------------------------------
 arch/ppc64/vdso.c               | 309 -----------------------------
 arch/x86/crtools.c              |   1 +
 arch/x86/include/asm/vdso.h     | 159 ++-------------
 arch/x86/vdso-pie.c             | 422 +---------------------------------------
 arch/x86/vdso.c                 | 294 ----------------------------
 include/asm-generic/vdso.h      |  12 ++
 include/parasite-syscall.h      |   5 -
 include/parasite-vdso.h         |  96 +++++++++
 include/restorer.h              |   2 +-
 include/util-vdso.h             |  69 +++++++
 include/vdso.h                  |  14 +-
 pie/Makefile                    |   7 +-
 pie/parasite-vdso.c             | 218 +++++++++++++++++++++
 pie/parasite.c                  |   2 +-
 pie/util-vdso.c                 | 211 ++++++++++++++++++++
 vdso.c                          | 294 ++++++++++++++++++++++++++++
 23 files changed, 987 insertions(+), 2609 deletions(-)
 delete mode 100644 arch/aarch64/vdso.c
 delete mode 100644 arch/ppc64/vdso.c
 delete mode 100644 arch/x86/vdso.c
 create mode 100644 include/asm-generic/vdso.h
 create mode 100644 include/parasite-vdso.h
 create mode 100644 include/util-vdso.h
 create mode 100644 pie/parasite-vdso.c
 create mode 100644 pie/util-vdso.c
 create mode 100644 vdso.c

-- 
1.9.1



More information about the CRIU mailing list