diff options
author | 2023-01-09 06:02:16 -0500 | |
---|---|---|
committer | 2023-01-11 13:31:33 -0500 | |
commit | 3a9ae31ac26a58d33008c42f6cd022afc2af2dc0 (patch) | |
tree | 82860bd99ec8342e5f8fd67ac4d51ca7117d1fb3 /scripts/generate_rust_analyzer.py | |
parent | KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID (diff) | |
download | wireguard-linux-3a9ae31ac26a58d33008c42f6cd022afc2af2dc0.tar.xz wireguard-linux-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 <pbonzini@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions