[PATCH] Docs: SMP: add an SMP docbook chapter

From: Randy Dunlap

Date: Thu Jun 25 2026 - 17:03:38 EST


Add SMP primitives to the core-api documentation.

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
---
Cc: Jonathan Corbet <corbet@xxxxxxx>
Cc: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>
Cc: linux-doc@xxxxxxxxxxxxxxx
Cc: Thomas Gleixner <tglx@xxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Documentation/core-api/SMP.rst | 11 +++++++++++
Documentation/core-api/index.rst | 1 +
2 files changed, 12 insertions(+)

--- linext-2026-0623.orig/Documentation/core-api/index.rst
+++ linext-2026-0623/Documentation/core-api/index.rst
@@ -81,6 +81,7 @@ Documentation/locking/index.rst for more
padata
../RCU/index
wrappers/memory-barriers.rst
+ SMP

Low-level hardware management
=============================
--- /dev/null
+++ linext-2026-0623/Documentation/core-api/SMP.rst
@@ -0,0 +1,11 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+==============
+SMP primitives
+==============
+
+.. kernel-doc:: include/linux/smp.h
+ :internal:
+
+.. kernel-doc:: kernel/smp.c
+ :export: