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

From: Sean Christopherson
Date: Tue Dec 04 2018 - 16:26:21 EST


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(-)

--
2.19.2