Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

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>

authored by

Lukas Bulwahn and committed by
Jonathan Corbet
01178ee7 cc29eade

+2 -2
+2 -2
Documentation/locking/locktorture.rst
··· 5 5 CONFIG_LOCK_TORTURE_TEST 6 6 ======================== 7 7 8 - The CONFIG LOCK_TORTURE_TEST config option provides a kernel module 8 + The CONFIG_LOCK_TORTURE_TEST config option provides a kernel module 9 9 that runs torture tests on core kernel locking primitives. The kernel 10 10 module, 'locktorture', may be built after the fact on the running 11 11 kernel to be tested, if desired. The tests periodically output status ··· 67 67 68 68 - "rtmutex_lock": 69 69 rtmutex_lock() and rtmutex_unlock() pairs. 70 - Kernel must have CONFIG_RT_MUTEX=y. 70 + Kernel must have CONFIG_RT_MUTEXES=y. 71 71 72 72 - "rwsem_lock": 73 73 read/write down() and up() semaphore pairs.