diff options
| author | Paolo Bonzini <[email protected]> | 2021-04-08 08:10:25 -0400 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-04-17 08:30:52 -0400 |
| commit | 4a38162ee9f10f5f67c36f4f5aa4f6be2657efd5 (patch) | |
| tree | cc03d02c0620fc31aff035d188c891e7175b98b2 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | d9bd0082e2e2f38c4a15fa53f06ef0817102b4a6 (diff) | |
KVM: MMU: load PDPTRs outside mmu_lock
On SVM, reading PDPTRs might access guest memory, which might fault
and thus might sleep. On the other hand, it is not possible to
release the lock after make_mmu_pages_available has been called.
Therefore, push the call to make_mmu_pages_available and the
mmu_lock critical section within mmu_alloc_direct_roots and
mmu_alloc_shadow_roots.
Reported-by: Wanpeng Li <[email protected]>
Co-developed-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions