diff options
| author | Sean Christopherson <[email protected]> | 2021-04-01 17:56:55 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-04-17 08:31:08 -0400 |
| commit | f922bd9bf33bd5a8c6694927f010f32127810fbf (patch) | |
| tree | d6332bb7dfb2d138a1cacad14019a3a891e6770c /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | b4c5936c47f86295cc76672e8dbeeca8b2379ba6 (diff) | |
KVM: Move MMU notifier's mmu_lock acquisition into common helper
Acquire and release mmu_lock in the __kvm_handle_hva_range() helper
instead of requiring the caller to do the same. This paves the way for
future patches to take mmu_lock if and only if an overlapping memslot is
found, without also having to introduce the on_lock() shenanigans used
to manipulate the notifier count and sequence.
No functional change intended.
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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions