diff options
| author | Paolo Bonzini <[email protected]> | 2023-01-09 11:02:16 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2023-01-11 18:31:33 +0000 |
| commit | 3a9ae31ac26a58d33008c42f6cd022afc2af2dc0 (patch) | |
| tree | 82860bd99ec8342e5f8fd67ac4d51ca7117d1fb3 /tools/perf/scripts/python/flamegraph.py | |
| parent | KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID (diff) | |
| download | kernel-3a9ae31ac26a58d33008c42f6cd022afc2af2dc0.tar.gz kernel-3a9ae31ac26a58d33008c42f6cd022afc2af2dc0.zip | |
Documentation: kvm: fix SRCU locking order docs
kvm->srcu is taken in KVM_RUN and several other vCPU ioctls, therefore
vcpu->mutex is susceptible to the same deadlock that is documented
for kvm->slots_lock. The same holds for kvm->lock, since kvm->lock
is held outside vcpu->mutex. Fix the documentation and rearrange it
to highlight the difference between these locks and kvm->slots_arch_lock,
and how kvm->slots_arch_lock can be useful while processing a vmexit.
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
