diff options
author | Sean Christopherson <[email protected]> | 2021-10-21 18:00:04 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-10-22 05:51:46 -0400 |
commit | e8be2a5ba86c7d6553a22d76fd21ac2cf665b165 (patch) | |
tree | ddd1f821b84eef32d2311b2d52ef2175cbe0dc60 /tools/perf/scripts/python/flamegraph.py | |
parent | bc3b3c1002ea684e618ff6d8c387b1b8b319f140 (diff) |
KVM: x86/mmu: Drop a redundant remote TLB flush in kvm_zap_gfn_range()
Remove an unnecessary remote TLB flush in kvm_zap_gfn_range() now that
said function holds mmu_lock for write for its entire duration. The
flush was added by the now-reverted commit to allow TDP MMU to flush while
holding mmu_lock for read, as the transition from write=>read required
dropping the lock and thus a pending flush needed to be serviced.
Fixes: 5a324c24b638 ("Revert "KVM: x86/mmu: Allow zap gfn range to operate under the mmu read lock"")
Cc: Maxim Levitsky <[email protected]>
Cc: Maciej S. Szmigiero <[email protected]>
Cc: Ben Gardon <[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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions