forked from luck/tmp_suning_uos_patched
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
|
@ -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 New Issue
Block a user