diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-03-20 14:28:28 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-04-21 09:12:57 -0400 |
commit | 71fe70130d88729abc0e658d3202618c340d2e71 (patch) | |
tree | 536ae8214dac28b2a57c809d899df8a8c4f3bc1e /LICENSES | |
parent | 4a632ac6ca66fb29b94a16495624c58f4d313f2f (diff) | |
download | lwn-71fe70130d88729abc0e658d3202618c340d2e71.tar.gz lwn-71fe70130d88729abc0e658d3202618c340d2e71.zip |
KVM: x86/mmu: Add module param to force TLB flush on root reuse
Add a module param, flush_on_reuse, to override skip_tlb_flush and
skip_mmu_sync when performing a so called "fast cr3 switch", i.e. when
reusing a cached root. The primary motiviation for the control is to
provide a fallback mechanism in the event that TLB flushing and/or MMU
sync bugs are exposed/introduced by upcoming changes to stop
unconditionally flushing on nested VMX transitions.
Suggested-by: Jim Mattson <jmattson@google.com>
Suggested-by: Junaid Shahid <junaids@google.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200320212833.3507-33-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions