diff options
| author | Sean Christopherson <[email protected]> | 2019-02-05 13:01:24 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2019-02-20 22:48:40 +0100 |
| commit | 571c5af06e303b4a69016193fd6b5afbc96eac40 (patch) | |
| tree | addd30f7a8b18519c9444a86ece7516c4affdccc /tools/perf/scripts/python | |
| parent | 4771450c345dc5e3e3417d82aff62e0d88e7eee6 (diff) | |
KVM: x86/mmu: Voluntarily reschedule as needed when zapping MMIO sptes
Call cond_resched_lock() when zapping MMIO to reschedule if needed or to
release and reacquire mmu_lock in case of contention. There is no need
to flush or zap when temporarily dropping mmu_lock as zapping MMIO sptes
is done when holding the memslots lock and with the "update in-progress"
bit set in the memslots generation, which disables MMIO spte caching.
The walk does need to be restarted if mmu_lock is dropped as the active
pages list may be modified.
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions