Skip to content

Commit 8d6451b

Browse files
guilhermepiccoliJonathan Corbet
authored andcommitted
Documentation: Fix duplicate statement about raw_spinlock_t type
Unless it was duplicate on purpose, to emphasize that a raw_spinlock_t is always a spinning lock regardless of PREEMPT_RT or kernel config, it's a bit odd that this text is duplicate. So, this patch just clean it up, keeping the consistency with the other sections of the text. Cc: Thomas Gleixner <tglx@linutronix.de> Fixes: 919e9e6 ("Documentation: Add lock ordering and nesting documentation") Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com> Link: https://lore.kernel.org/r/20220321144133.49804-1-gpiccoli@igalia.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 75c05fa commit 8d6451b

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Documentation/locking/locktypes.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,6 @@ raw_spinlock_t and spinlock_t
211211
raw_spinlock_t
212212
--------------
213213

214-
raw_spinlock_t is a strict spinning lock implementation regardless of the
215-
kernel configuration including PREEMPT_RT enabled kernels.
216-
217214
raw_spinlock_t is a strict spinning lock implementation in all kernels,
218215
including PREEMPT_RT kernels. Use raw_spinlock_t only in real critical
219216
core code, low-level interrupt handling and places where disabling

0 commit comments

Comments
 (0)