linux_dsm_epyc7002/arch/x86/vdso
Roland McGrath d9dedc1385 x86_64 vDSO: use initdata
The 64-bit vDSO image is in a special ".vdso" section for no reason
I can determine.  Furthermore, the location of the vdso_end symbol
includes some wrongly-calculated padding space in the image, which
is then (correctly) rounded to page size, resulting in an extra page
of zeros in the image mapped in to user processes.

This changes it to put the vdso.so image into normal initdata as we
have always done for the 32-bit vDSO images.  The extra padding is
gone, so the user VMA is one page instead of two.  The image that
was already copied around at boot time is now in initdata, so we
recover that wasted space after boot.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 13:49:35 -07:00
..
vdso32 x86: gitignore arch/x86/vdso files 2008-01-30 13:32:32 +01:00
.gitignore x86: add vdso32-int80-syms.lds to .gitignore 2008-01-30 13:33:24 +01:00
Makefile x86 vDSO: compile with -g, 64-bit 2008-04-19 19:19:55 +02:00
vclock_gettime.c x86: remove duplicate includes 2008-01-30 13:30:32 +01:00
vdso32-setup.c x86: Centaur Isaiah processor to use sysenter in 64-bit compatibility mode rather than syscall 2008-04-17 17:41:31 +02:00
vdso32.S x86 vDSO: consolidate vdso32 2008-01-30 13:30:43 +01:00
vdso-layout.lds.S x86 vDSO: new layout 2008-01-30 13:30:41 +01:00
vdso-note.S x86_64: move vdso 2007-10-11 11:17:10 +02:00
vdso.lds.S x86 vDSO: new layout 2008-01-30 13:30:41 +01:00
vdso.S x86_64 vDSO: use initdata 2008-04-28 13:49:35 -07:00
vextern.h x86_64: move vdso 2007-10-11 11:17:10 +02:00
vgetcpu.c x86: introduce native_read_tscp 2008-01-30 13:31:06 +01:00
vma.c x86 vDSO: use vdso-syms.lds 2008-01-30 13:30:41 +01:00
vvar.c x86: vdso put vars in rodata 2007-10-17 20:16:43 +02:00