kaiser: enhanced by kernel and user PCIDs
authorHugh Dickins <hughd@google.com>
Wed, 30 Aug 2017 23:23:00 +0000 (16:23 -0700)
committerYves-Alexis Perez <corsac@debian.org>
Thu, 4 Jan 2018 11:12:40 +0000 (11:12 +0000)
commit85fc832cede63674578bb8bc4e8b3446672aab58
tree0891e22f864146f4039ffdb3fad7c4ae1326733d
parent30e74df2a4362569d8479eaf8079c07a988710a3
kaiser: enhanced by kernel and user PCIDs

Merged performance improvements to Kaiser, using distinct kernel
and user Process Context Identifiers to minimize the TLB flushing.

[This work actually all from Dave Hansen 2017-08-30:
still omitting trackswitch mods, and KAISER_REAL_SWITCH deleted.]

Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Gbp-Pq: Topic features/all/kpti
Gbp-Pq: Name kaiser-enhanced-by-kernel-and-user-pcids.patch
arch/x86/entry/entry_64.S
arch/x86/entry/entry_64_compat.S
arch/x86/include/asm/cpufeatures.h
arch/x86/include/asm/kaiser.h
arch/x86/include/asm/pgtable_types.h
arch/x86/include/asm/tlbflush.h
arch/x86/include/uapi/asm/processor-flags.h
arch/x86/kernel/cpu/common.c
arch/x86/kvm/x86.c
arch/x86/mm/kaiser.c
arch/x86/mm/tlb.c