[PATCH RFC 05/12] Documentation: KVM: Explain what rule the exception section is meant for

From: Ackerley Tng via B4 Relay

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


From: Ackerley Tng <ackerleytng@xxxxxxxxxx>

The Exception section describes some exceptions but not the rule the
exception is for. Add a paragraph to clarify that detail.

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

diff --git a/Documentation/virt/kvm/locking.rst b/Documentation/virt/kvm/locking.rst
index e349c2cb94943..5161636cec481 100644
--- a/Documentation/virt/kvm/locking.rst
+++ b/Documentation/virt/kvm/locking.rst
@@ -61,6 +61,10 @@ sections.
2. Exception
------------

+The general rule in KVM is that any modification to shadow page tables
+(and their entries (SPTEs)) must be protected by ``kvm->mmu_lock``,
+with the exceptions described below.
+
Fast page fault:

Fast page fault is the fast path which fixes the guest page fault out of

--
2.54.0.823.g6e5bcc1fc9-goog