[CRIU] [PATCH 0/4] vdso: Make it arch specific

Cyrill Gorcunov gorcunov at openvz.org
Mon May 26 00:50:11 PDT 2014


  New linux kernels (starting from 3.16 presumably) will
have quite reworked vDSO format so that our "common" parser
won'y work anymore. Thus every architecture should implement
own vdso parsing and handling.

  Here I moved aarch64 out. ARM64 guys, please confirm the criu
still passes the tests.

Cyrill Gorcunov (4):
  vdso: make -- Export VDSO and CONFIG_VDSO
  vdso: dump -- Drop duplicated include
  vdso: Put CONFIG_VDSO where needed
  vdso: Make it arch specific

 Makefile                        |  19 +--
 Makefile.config                 |   3 +
 Makefile.crtools                |   3 +-
 arch/aarch64/include/asm/vdso.h |  47 --------
 arch/aarch64/vdso-pie.c         |  34 ------
 arch/aarch64/vdso.c             |  36 ------
 arch/arm/include/asm/vdso.h     |  18 ---
 arch/arm/vdso-pie.c             |  17 ---
 arch/arm/vdso.c                 |  20 ----
 arch/x86/include/asm/vdso.h     |  90 +++++++++++++-
 arch/x86/vdso-pie.c             | 229 +++++++++++++++++++++++++++++++++++-
 arch/x86/vdso.c                 |  47 ++++++++
 cr-dump.c                       |   1 -
 cr-restore.c                    |   8 ++
 include/parasite-syscall.h      |   3 +
 include/restorer.h              |   5 +-
 include/vdso.h                  |  97 ++-------------
 pie/Makefile                    |   3 +-
 pie/parasite.c                  |   5 +
 pie/restorer.c                  |  29 +++--
 pie/vdso-stub.c                 |  31 -----
 pie/vdso.c                      | 255 ----------------------------------------
 proc_parse.c                    |   5 +
 vdso-stub.c                     |  23 ----
 vdso.c                          |  64 ----------
 25 files changed, 432 insertions(+), 660 deletions(-)
 delete mode 100644 arch/aarch64/include/asm/vdso.h
 delete mode 100644 arch/aarch64/vdso-pie.c
 delete mode 100644 arch/aarch64/vdso.c
 delete mode 100644 arch/arm/include/asm/vdso.h
 delete mode 100644 arch/arm/vdso-pie.c
 delete mode 100644 arch/arm/vdso.c
 delete mode 100644 pie/vdso-stub.c
 delete mode 100644 pie/vdso.c
 delete mode 100644 vdso-stub.c
 delete mode 100644 vdso.c

-- 
1.9.3



More information about the CRIU mailing list