summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-12-15 03:28:07 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2009-12-27 16:36:31 +0100
commitfae3a3536a6fecedebd49fa847f810e599bfb132 (patch)
tree18b555c3f6bcc6735fd7a90db2c398a35e29c84e /sound
parentKVM: MMU: remove prefault from invlpg handler (diff)
downloadlinux-fae3a3536a6fecedebd49fa847f810e599bfb132.tar.xz
linux-fae3a3536a6fecedebd49fa847f810e599bfb132.zip
KVM: Fix possible circular locking in kvm_vm_ioctl_assign_device()
One possible order is: KVM_CREATE_IRQCHIP ioctl(took kvm->lock) -> kvm_iobus_register_dev() -> down_write(kvm->slots_lock). The other one is in kvm_vm_ioctl_assign_device(), which take kvm->slots_lock first, then kvm->lock. Update the comment of lock order as well. Observe it due to kernel locking debug warnings. Cc: stable@kernel.org Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions