diff options
| author | H. Peter Anvin <hpa@zytor.com> | 2025-12-16 13:26:04 -0800 |
|---|---|---|
| committer | Dave Hansen <dave.hansen@linux.intel.com> | 2026-01-13 16:37:58 -0800 |
| commit | 36d83c249e0395a915144eceeb528ddc19b1fbe6 (patch) | |
| tree | 4581bf7d2a7228f88a21b75ae8b3eec246c31327 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | f49ecf5e110ab0ed255ddea5e321689faf4e50e6 (diff) | |
x86/entry/vdso32: When using int $0x80, use it directly
When neither sysenter32 nor syscall32 is available (on either
FRED-capable 64-bit hardware or old 32-bit hardware), there is no
reason to do a bunch of stack shuffling in __kernel_vsyscall.
Unfortunately, just overwriting the initial "push" instructions will
mess up the CFI annotations, so suffer the 3-byte NOP if not
applicable.
Similarly, inline the int $0x80 when doing inline system calls in the
vdso instead of calling __kernel_vsyscall.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://patch.msgid.link/20251216212606.1325678-11-hpa@zytor.com
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
