[CRIU] [PATCH 2/5] vdso: Introduce vdso engine

Cyrill Gorcunov gorcunov at openvz.org
Thu May 16 11:33:02 EDT 2013


In this patch we prepare vDSO engine to be used in
future patches. Basically what we need is to:

 - parse runtime vDSO memory
 - patch vDSO area to redirect calls to a new place

Because the vDSO parser will be needed in both parasite and
regular restore code the routine arch_parse_vdso is implemened
as inline helper.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 arch/arm/include/asm/vdso.h |  24 +++++
 arch/x86/Makefile           |   1 +
 arch/x86/crtools.c          |  46 ++++++++++
 arch/x86/include/asm/vdso.h | 208 ++++++++++++++++++++++++++++++++++++++++++++
 arch/x86/vdso.c             |  65 ++++++++++++++
 include/vdso.h              | 116 ++++++++++++++++++++++++
 6 files changed, 460 insertions(+)
 create mode 100644 arch/arm/include/asm/vdso.h
 create mode 100644 arch/x86/include/asm/vdso.h
 create mode 100644 arch/x86/vdso.c
 create mode 100644 include/vdso.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-vdso-Introduce-vdso-engine.patch
Type: text/x-patch
Size: 12719 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130516/ecbff6fb/attachment-0001.bin>


More information about the CRIU mailing list