Skip to contentSkip to conversation

docs: locking: refer to the actual existing config names

PATCH Applied Lukas Bulwahn 3 participants 3 messages Feb 20, 2023 – Feb 23, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: locking: refer to the actual existing config names

The config is actually called CONFIG_RT_MUTEXES, not CONFIG_RT_MUTEX.

The config CONFIG_LOCK_TORTURE_TEST should be connected by underscore, for the sake of consistent referencing to configs in the kernel documentation.

Address those issues.

---
 Documentation/locking/locktorture.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/locking/locktorture.rst +2 -2
index dfaf9fc883f4..7f56fc0d7c31 100644
@@ -5,7 +5,7 @@ Kernel Lock Torture Test Operation
 CONFIG_LOCK_TORTURE_TEST
 ========================
 
-The CONFIG LOCK_TORTURE_TEST config option provides a kernel module
+The CONFIG_LOCK_TORTURE_TEST config option provides a kernel module
 that runs torture tests on core kernel locking primitives. The kernel
 module, 'locktorture', may be built after the fact on the running
 kernel to be tested, if desired. The tests periodically output status
@@ -67,7 +67,7 @@ torture_type
 
 		     - "rtmutex_lock":
 				rtmutex_lock() and rtmutex_unlock() pairs.
-				Kernel must have CONFIG_RT_MUTEX=y.
+				Kernel must have CONFIG_RT_MUTEXES=y.
 
 		     - "rwsem_lock":
 				read/write down() and up() semaphore pairs.
Signature · 1 line
2.17.1
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 26 lines · Lukas Bulwahn

The config is actually called CONFIG_RT_MUTEXES, not CONFIG_RT_MUTEX.

The config CONFIG_LOCK_TORTURE_TEST should be connected by underscore, for the sake of consistent referencing to configs in the kernel documentation.

Address those issues.

---
  Documentation/locking/locktorture.rst | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/locking/locktorture.rst +1 -1
index dfaf9fc883f4..7f56fc0d7c31 100644
@@ -5,7 +5,7 @@ Kernel Lock Torture Test Operation
  CONFIG_LOCK_TORTURE_TEST
  ========================
 
-The CONFIG LOCK_TORTURE_TEST config option provides a kernel module
+The CONFIG_LOCK_TORTURE_TEST config option provides a kernel module
  that runs torture tests on core kernel locking primitives. The kernel
  module, 'locktorture', may be built after the fact on the running
  kernel to be tested, if desired. The tests periodically output status

Documentation/locking/locktorture.rst torture_type · line 73

Quoted 8 lines
Documentation/locking/locktorture.rst +1 -1
@@ -67,7 +67,7 @@ torture_type
 
  		     - "rtmutex_lock":
  				rtmutex_lock() and rtmutex_unlock() pairs.
-				Kernel must have CONFIG_RT_MUTEX=y.
+				Kernel must have CONFIG_RT_MUTEXES=y.
 
  		     - "rwsem_lock":
  				read/write down() and up() semaphore pairs.
maintainer Applied
#2 lore raw
In reply to Lukas Bulwahn
Quoted 26 lines · Lukas Bulwahn

The config is actually called CONFIG_RT_MUTEXES, not CONFIG_RT_MUTEX.

The config CONFIG_LOCK_TORTURE_TEST should be connected by underscore, for the sake of consistent referencing to configs in the kernel documentation.

Address those issues.

---
 Documentation/locking/locktorture.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/locking/locktorture.rst +1 -1
index dfaf9fc883f4..7f56fc0d7c31 100644
@@ -5,7 +5,7 @@ Kernel Lock Torture Test Operation
 CONFIG_LOCK_TORTURE_TEST
 ========================
 
-The CONFIG LOCK_TORTURE_TEST config option provides a kernel module
+The CONFIG_LOCK_TORTURE_TEST config option provides a kernel module
 that runs torture tests on core kernel locking primitives. The kernel
 module, 'locktorture', may be built after the fact on the running
 kernel to be tested, if desired. The tests periodically output status

Documentation/locking/locktorture.rst torture_type · line 71

Quoted 6 lines
Documentation/locking/locktorture.rst +1 -1
@@ -67,7 +67,7 @@ torture_type
 
 		     - "rtmutex_lock":
 				rtmutex_lock() and rtmutex_unlock() pairs.
-				Kernel must have CONFIG_RT_MUTEX=y.
+				Kernel must have CONFIG_RT_MUTEXES=y.
 

Applied, thanks.

jon