I like this variant much better. It might also fix the nasty bug tglx and peterz were chasing.
Andy Lutomirski (2): Undo the split of setup_cpu_entry_area x86/kpti: Reference all cpu_entry_area pagetables in the usermode tables arch/x86/include/asm/fixmap.h | 14 +++++--- arch/x86/include/asm/kpti.h | 8 +++-- arch/x86/kernel/cpu/common.c | 3 -- arch/x86/kernel/smpboot.c | 2 ++ arch/x86/kernel/traps.c | 6 +++- arch/x86/mm/kpti.c | 82 ++++++++++++++++++++++++++----------------- 6 files changed, 71 insertions(+), 44 deletions(-) -- 2.13.6