diff options
| author | Sean Christopherson <[email protected]> | 2020-03-20 14:28:26 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-04-21 09:12:56 -0400 |
| commit | b869855badd1387bd12415e4d5571e931825b546 (patch) | |
| tree | a9ce11900393f043212bfd9670de985356cbca00 /tools/perf/scripts/python | |
| parent | 4de1f9d469f4515464c2c4958a59479f641970ef (diff) | |
KVM: x86/mmu: Move fast_cr3_switch() side effects to __kvm_mmu_new_cr3()
Handle the side effects of a fast CR3 (PGD) switch up a level in
__kvm_mmu_new_cr3(), which is the only caller of fast_cr3_switch().
This consolidates handling all side effects in __kvm_mmu_new_cr3()
(where freeing the current root when KVM can't do a fast switch is
already handled), and ameliorates the pain of adding a second boolean in
a future patch to provide a separate "skip" override for the MMU sync.
Cc: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions