Skip to content

x86 vdso32 cleanups

Brian Gerst lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7x86/vdso32: Separate sigreturn codearch/x86/entry/vdso/Makefile arch/x86/entry/vdso/vdso32/int80.S arch/x86/entry/vdso/vdso32/sigreturn.S +2 more+12 -170 replies
2/7x86/vdso32: Remove VDSO32_vsyscall_eh_frame_sizearch/x86/entry/vdso/vdso32/int80.S arch/x86/entry/vdso/vdso32/syscall.S arch/x86/entry/vdso/vdso32/sysenter.S+0 -220 replies
3/7x86/vdso32: Remove unused vdso-fakesections.carch/x86/entry/vdso/vdso32/vdso-fakesections.c+0 -11 reply
4/7x86/vdso32: Build single vdso32 imagearch/x86/entry/vdso/.gitignore arch/x86/entry/vdso/Makefile arch/x86/entry/vdso/vdso2c.c +9 more+47 -730 replies
5/7x86/vdso: Merge 32-bit and 64-bit source filesarch/x86/entry/vdso/Makefile arch/x86/entry/vdso/vclock_gettime.c arch/x86/entry/vdso/vdso-note.S +2 more+73 -760 replies
6/7x86/vdso32/xen: Move VDSO_NOTE_NONEGSEG_BIT definearch/x86/entry/vdso/vdso-note.S arch/x86/include/asm/vdso.h arch/x86/xen/setup.c +1 more+10 -80 replies
7/7x86/vdso32: Remove vdso32 subdirectoryarch/x86/entry/vdso/.gitignore arch/x86/entry/vdso/Makefile arch/x86/entry/vdso/int80.S +10 more+407 -4110 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchAndy Lutomirski
1/7
2/7
3/7A-b
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] x86 vdso32 cleanups

This patch set contains several cleanups to the 32-bit VDSO. The main change is to only build one VDSO image, and select the syscall entry point at runtime.

 arch/x86/entry/vdso/.gitignore                 |  4 +---
 arch/x86/entry/vdso/Makefile                   | 53 ++++++++++++++++++++++-------------------------------
 arch/x86/entry/vdso/{vdso32 => }/int80.S       | 13 +------------
 arch/x86/entry/vdso/{vdso32 => }/sigreturn.S   |  9 +++++++--
 arch/x86/entry/vdso/{vdso32 => }/syscall.S     | 23 +++++------------------
 arch/x86/entry/vdso/{vdso32 => }/sysenter.S    | 19 +++++--------------
 arch/x86/entry/vdso/vclock_gettime.c           | 31 +++++++++++++++++++++++++++++++
 arch/x86/entry/vdso/vdso-note.S                | 32 +++++++++++++++++++++++++++++++-
 arch/x86/entry/vdso/vdso2c.c                   |  2 ++
 arch/x86/entry/vdso/vdso32-setup.c             | 15 ++++++++-------
 arch/x86/entry/vdso/{vdso32 => }/vdso32.lds.S  |  2 +-
 arch/x86/entry/vdso/vdso32/.gitignore          |  1 -
 arch/x86/entry/vdso/vdso32/note.S              | 44 --------------------------------------------
 arch/x86/entry/vdso/vdso32/vclock_gettime.c    | 30 ------------------------------
 arch/x86/entry/vdso/vdso32/vdso-fakesections.c |  1 -
 arch/x86/entry/vdso/vma.c                      |  6 +++---
 arch/x86/ia32/ia32_signal.c                    |  4 ++--
 arch/x86/include/asm/elf.h                     |  3 +--
 arch/x86/include/asm/vdso.h                    | 20 +++++++++++++-------
 arch/x86/kernel/signal.c                       |  4 ++--
 arch/x86/xen/setup.c                           | 13 ++-----------
 arch/x86/xen/vdso.h                            |  4 ----
 22 files changed, 137 insertions(+), 196 deletions(-)