[PATCH RFC 07/12] Documentation: KVM: Drop mention of kvm->lock in SRCU documentation

From: Ackerley Tng via B4 Relay

Date: Wed May 27 2026 - 11:41:18 EST


From: Ackerley Tng <ackerleytng@xxxxxxxxxx>

The original comment says that synchronize_srcu(&kvm->srcu) is called
inside critical sections for kvm->lock, vcpu->mutex and
kvm->slots_lock. Drop mention of kvm->lock since this is no longer true.

Signed-off-by: Ackerley Tng <ackerleytng@xxxxxxxxxx>
---
Documentation/virt/kvm/locking.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/virt/kvm/locking.rst b/Documentation/virt/kvm/locking.rst
index fc4537a7659a9..437dbfa0030b9 100644
--- a/Documentation/virt/kvm/locking.rst
+++ b/Documentation/virt/kvm/locking.rst
@@ -35,8 +35,8 @@ The acquisition orders for mutexes are as follows:
For SRCU:

- ``synchronize_srcu(&kvm->srcu)`` is called inside critical sections
- for kvm->lock, vcpu->mutex and kvm->slots_lock. These locks _cannot_
- be taken inside a kvm->srcu read-side critical section; that is, the
+ for vcpu->mutex and kvm->slots_lock. These locks _cannot_ be taken
+ inside a kvm->srcu read-side critical section; that is, the
following is broken::

srcu_read_lock(&kvm->srcu);

--
2.54.0.823.g6e5bcc1fc9-goog