summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/sys_regs.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-01-09 06:02:16 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2023-01-11 13:31:33 -0500
commit3a9ae31ac26a58d33008c42f6cd022afc2af2dc0 (patch)
tree82860bd99ec8342e5f8fd67ac4d51ca7117d1fb3 /arch/arm64/kvm/sys_regs.c
parent45e966fcca03ecdcccac7cb236e16eea38cc18af (diff)
downloadlinux-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 'arch/arm64/kvm/sys_regs.c')
0 files changed, 0 insertions, 0 deletions