diff options
author | Jun Miao <jun.miao@intel.com> | 2023-02-23 06:28:51 +0100 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-03-24 16:20:17 +0100 |
commit | b0d237087c674c43df76c1a0bc2737592f3038f4 (patch) | |
tree | f53b414700e84ce99f1801d9915b0dd57e0dddf7 /Documentation/virt | |
parent | KVM: MIPS: Make kvm_mips_callbacks const (diff) | |
download | linux-b0d237087c674c43df76c1a0bc2737592f3038f4.tar.xz linux-b0d237087c674c43df76c1a0bc2737592f3038f4.zip |
KVM: Fix comments that refer to the non-existent install_new_memslots()
Fix stale comments that were left behind when install_new_memslots() was
replaced by kvm_swap_active_memslots() as part of the scalable memslots
rework.
Fixes: a54d806688fe ("KVM: Keep memslots in tree-based structures instead of array-based ones")
Signed-off-by: Jun Miao <jun.miao@intel.com>
Link: https://lore.kernel.org/r/20230223052851.1054799-1-jun.miao@intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'Documentation/virt')
-rw-r--r-- | Documentation/virt/kvm/locking.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/virt/kvm/locking.rst b/Documentation/virt/kvm/locking.rst index 14c4e9fa501d..8c77554e4896 100644 --- a/Documentation/virt/kvm/locking.rst +++ b/Documentation/virt/kvm/locking.rst @@ -21,7 +21,7 @@ The acquisition orders for mutexes are as follows: - kvm->mn_active_invalidate_count ensures that pairs of invalidate_range_start() and invalidate_range_end() callbacks use the same memslots array. kvm->slots_lock and kvm->slots_arch_lock - are taken on the waiting side in install_new_memslots, so MMU notifiers + are taken on the waiting side when modifying memslots, so MMU notifiers must not take either kvm->slots_lock or kvm->slots_arch_lock. For SRCU: |