KVM: Convert kvm_lock back to non-raw spinlock
[firefly-linux-kernel-4.4.55.git] / Documentation / virtual / kvm / locking.txt
index 41b7ac9884b5ebdeaba602077bebb11efebcc648..ba035c33d01c0d323c156868b3b8d8432a9485c3 100644 (file)
@@ -132,10 +132,14 @@ See the comments in spte_has_volatile_bits() and mmu_spte_update().
 ------------
 
 Name:          kvm_lock
-Type:          raw_spinlock
+Type:          spinlock_t
 Arch:          any
 Protects:      - vm_list
-               - hardware virtualization enable/disable
+
+Name:          kvm_count_lock
+Type:          raw_spinlock_t
+Arch:          any
+Protects:      - hardware virtualization enable/disable
 Comment:       'raw' because hardware enabling/disabling must be atomic /wrt
                migration.