Skip to contentSkip to conversation

Documentation: real-time: Add runtime tuning guide

PATCH New Zixin Wang 1 participant 1 message Nov 26

Subsystems (2)
lore
Share & tools
lore

Zixin Wang

author
#0 lore raw

PATCH v7 1/1 Documentation: real-time: Add runtime tuning guide

Runtime tuning options such as C-state limits, EFI runtime services, CPU isolation, RCU callback offloading, and interrupt affinity are not kernel configuration options. Move them out of the configuration guide into a separate real-time runtime tuning guide, so the configuration guide stays focused on Kconfig options.

Keep the existing configuration section anchors in place and link to the new guide from the relevant configuration options. This preserves the documentation links generated by kconfig-checker.

---
v6 -> v7:
- Point to Documentation/admin-guide/cpu-isolation.rst instead of duplicating its CPU isolation and interrupt affinity content.
- Clarify rcu_nocb_poll: note that it removes the call_rcu() wakeup and shortens the IRQ-disabled critical section, but that jiffy polling can delay callback and grace-period processing.

Testing:
make SPHINXDIRS="core-api" htmldocs and checkpatch.pl pass.

kconfig-checker preempt_rt rules: all generated documentation links resolve to anchors in the built HTML.

---
 Documentation/core-api/real-time/index.rst    |   8 +-
 .../real-time/kernel-configuration.rst        |  44 +++---
 .../core-api/real-time/runtime-tuning.rst     | 140 ++++++++++++++++++++
 3 files changed, 167 insertions(+), 25 deletions(-)
 create mode 100644 Documentation/core-api/real-time/runtime-tuning.rst
Documentation/core-api/real-time/index.rst +5 -3
index a17a3de..28b65cf 100644
@@ -4,9 +4,10 @@
 Real-time preemption
 =====================
 
-This documentation is intended for Linux kernel developers and contributors
-interested in the inner workings of PREEMPT_RT. It explains key concepts and
-the required changes compared to a non-PREEMPT_RT configuration.
+This documentation is intended for Linux kernel developers, contributors, and
+system integrators interested in the inner workings of PREEMPT_RT. It explains
+key concepts and the required changes compared to a non-PREEMPT_RT
+configuration.
 
 .. toctree::
    :maxdepth: 2
@@ -16,3 +17,4 @@ the required changes compared to a non-PREEMPT_RT configuration.
    hardware
    architecture-porting
    kernel-configuration
+   runtime-tuning
Documentation/core-api/real-time/kernel-configuration.rst +22 -22

77 lines not on this page · raw message

Documentation/core-api/real-time/runtime-tuning.rst new file +140 -0

140 lines not on this page · raw message

Signature · 1 line
2.54.0