This needs more testing, but here goes. Andy Lutomirski (3): x86/pti: Vastly simplify pgd synchronization Revert "x86/mm/pti: Disable native VSYSCALL" x86/pti: Put the LDT in its own PGD if PTI is on
Documentation/x86/x86_64/mm.txt | 11 ++- arch/x86/Kconfig | 8 -- arch/x86/include/asm/mmu_context.h | 33 +++++++- arch/x86/include/asm/pgtable_64.h | 74 +++++++---------- arch/x86/include/asm/pgtable_64_types.h | 2 + arch/x86/include/asm/processor.h | 23 ++++-- arch/x86/kernel/ldt.c | 139 +++++++++++++++++++++++++++++--- arch/x86/mm/pti.c | 52 +++--------- 8 files changed, 224 insertions(+), 118 deletions(-) -- 2.13.6