]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/vsyscall: Reorganize the page fault emulation code
authorSohil Mehta <sohil.mehta@intel.com>
Mon, 9 Mar 2026 18:10:25 +0000 (11:10 -0700)
committerDave Hansen <dave.hansen@linux.intel.com>
Thu, 19 Mar 2026 22:11:12 +0000 (15:11 -0700)
commit3ddd2e12c704f22c28efb714817c88ee4e25688a
treee0be1f29243f5856db753f712a30b0f81b03e514
parent68400c1aaf02636a97c45ba198110b66feb270a9
x86/vsyscall: Reorganize the page fault emulation code

With LASS, vsyscall page accesses will cause a #GP instead of a #PF.
Separate out the core vsyscall emulation code from the #PF specific
handling in preparation for the upcoming #GP emulation.

No functional change intended.

Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Tested-by: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
Link: https://patch.msgid.link/20260309181029.398498-2-sohil.mehta@intel.com
arch/x86/entry/vsyscall/vsyscall_64.c
arch/x86/include/asm/vsyscall.h
arch/x86/mm/fault.c