diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-01-09 06:02:16 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-01-11 13:31:33 -0500 |
commit | 3a9ae31ac26a58d33008c42f6cd022afc2af2dc0 (patch) | |
tree | 82860bd99ec8342e5f8fd67ac4d51ca7117d1fb3 /kernel/debug | |
parent | 45e966fcca03ecdcccac7cb236e16eea38cc18af (diff) | |
download | linux-stable-3a9ae31ac26a58d33008c42f6cd022afc2af2dc0.tar.gz linux-stable-3a9ae31ac26a58d33008c42f6cd022afc2af2dc0.tar.bz2 linux-stable-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 'kernel/debug')
0 files changed, 0 insertions, 0 deletions