Skip to content

x86/vdso: Remove remnants of the fake section table

Sean Christopherson lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesIn review
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Remove the definition of sym_VDSO_FAKE_SECTION_TABLE_*
- Add patches 3/4 and 4/4 for additional cleanup

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86/vdso: Remove obsolete "fake section table" reservationarch/x86/entry/vdso/vdso-layout.lds.S arch/x86/entry/vdso/vdso2c.c+0 -301 reply
2/4x86/vdso: Remove a stale/misleading comment from the linker scriptarch/x86/entry/vdso/vdso-layout.lds.S+0 -51 reply
3/4x86/vdso: Remove struct vdso_sym and its associated export optionarch/x86/entry/vdso/vdso2c.c arch/x86/entry/vdso/vdso2c.h+18 -240 replies
4/4x86/vdso: Rename "required_syms" to "requested_syms"arch/x86/entry/vdso/vdso2c.c arch/x86/entry/vdso/vdso2c.h+8 -80 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchAndy Lutomirski
1/4A-b
2/4A-b A-b
3/4
4/4

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

Read the v2 thread

Cover letter [PATCH v2 0/4] x86/vdso: Remove remnants of the fake section table

Remove pieces of the vDSO's fake section table mechanism that were left behind when the vDSO build process reverted to using "objdump -S" to strip the userspace image.

One of the removed pieces is a 0x340 byte reservation (for 64-bit) in the .rodata section. Trimming that fat drops the current image's size to under 4k, i.e. reduces the effective size of the userspace vDSO mapping by a full page.

v1->v2:
- Remove the definition of sym_VDSO_FAKE_SECTION_TABLE_*
- Add patches 3/4 and 4/4 for additional cleanup

Sean Christopherson (4):
x86/vdso: Remove obsolete "fake section table" reservation x86/vdso: Remove a stale/misleading comment from the linker script x86/vdso: Remove struct vdso_sym and its associated export option x86/vdso: Rename "required_syms" to "requested_syms"

 arch/x86/entry/vdso/vdso-layout.lds.S | 27 -------------------
 arch/x86/entry/vdso/vdso2c.c          | 37 +++++++++------------------
 arch/x86/entry/vdso/vdso2c.h          | 15 +++++------
 3 files changed, 19 insertions(+), 60 deletions(-)
Signature · 1 line
2.19.2