KVM: document lock nesting rule
Document kvm->lock nesting within kvm->slots_lock Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
bda9020e24
commit
22fc02943a
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ MODULE_LICENSE("GPL");
|
|||
/*
|
||||
* Ordering of locks:
|
||||
*
|
||||
* kvm->lock --> kvm->irq_lock
|
||||
* kvm->slots_lock --> kvm->lock --> kvm->irq_lock
|
||||
*/
|
||||
|
||||
DEFINE_SPINLOCK(kvm_lock);
|
||||
|
|
Loading…
Reference in a new issue