docs: locking: refer to the actual existing config names
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Mon, 20 Feb 2023 16:57:49 +0000 (17:57 +0100)
committerJonathan Corbet <corbet@lwn.net>
Thu, 23 Feb 2023 19:26:00 +0000 (12:26 -0700)
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.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Acked-by: Waiman Long <longman@redhat.com>
Link: https://lore.kernel.org/r/20230220165749.12850-1-lukas.bulwahn@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/locking/locktorture.rst

index dfaf9fc883f44a2c12ab0d4f71348efc40968361..7f56fc0d7c31688d012dfea7d072675817e31814 100644 (file)
@@ -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.