mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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:
|
* Ordering of locks:
|
||||||
*
|
*
|
||||||
* kvm->lock --> kvm->irq_lock
|
* kvm->slots_lock --> kvm->lock --> kvm->irq_lock
|
||||||
*/
|
*/
|
||||||
|
|
||||||
DEFINE_SPINLOCK(kvm_lock);
|
DEFINE_SPINLOCK(kvm_lock);
|
||||||
|
|
Loading…
Reference in a new issue