mirror of https://github.com/torvalds/linux.git
KVM: Fix comments that refer to slots_lock
Fix comments so that they refer to slots_lock instead of slots_locks (remove trailing s). Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Gavin Shan <gshan@redhat.com> Reviewed-by: Shivank Garg <shivankg@amd.com> Reviewed-by: Vlastimil Babka <vbabka@suse.cz> Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com> Signed-off-by: Fuad Tabba <tabba@google.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Message-ID: <20250729225455.670324-8-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
923310be23
commit
69116e01f6
|
|
@ -860,7 +860,7 @@ struct kvm {
|
||||||
struct notifier_block pm_notifier;
|
struct notifier_block pm_notifier;
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_KVM_GENERIC_MEMORY_ATTRIBUTES
|
#ifdef CONFIG_KVM_GENERIC_MEMORY_ATTRIBUTES
|
||||||
/* Protected by slots_locks (for writes) and RCU (for reads) */
|
/* Protected by slots_lock (for writes) and RCU (for reads) */
|
||||||
struct xarray mem_attr_array;
|
struct xarray mem_attr_array;
|
||||||
#endif
|
#endif
|
||||||
char stats_id[KVM_STATS_NAME_SIZE];
|
char stats_id[KVM_STATS_NAME_SIZE];
|
||||||
|
|
|
||||||
|
|
@ -331,7 +331,7 @@ void kvm_flush_remote_tlbs_memslot(struct kvm *kvm,
|
||||||
* All current use cases for flushing the TLBs for a specific memslot
|
* All current use cases for flushing the TLBs for a specific memslot
|
||||||
* are related to dirty logging, and many do the TLB flush out of
|
* are related to dirty logging, and many do the TLB flush out of
|
||||||
* mmu_lock. The interaction between the various operations on memslot
|
* mmu_lock. The interaction between the various operations on memslot
|
||||||
* must be serialized by slots_locks to ensure the TLB flush from one
|
* must be serialized by slots_lock to ensure the TLB flush from one
|
||||||
* operation is observed by any other operation on the same memslot.
|
* operation is observed by any other operation on the same memslot.
|
||||||
*/
|
*/
|
||||||
lockdep_assert_held(&kvm->slots_lock);
|
lockdep_assert_held(&kvm->slots_lock);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue