提交 8d6451b9 编写于 作者: G Guilherme G. Piccoli 提交者: Jonathan Corbet

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: 919e9e63 ("Documentation: Add lock ordering and nesting documentation")
Signed-off-by: NGuilherme G. Piccoli <gpiccoli@igalia.com>
Link: https://lore.kernel.org/r/20220321144133.49804-1-gpiccoli@igalia.comSigned-off-by: NJonathan Corbet <corbet@lwn.net>
上级 75c05fab
...@@ -211,9 +211,6 @@ raw_spinlock_t and spinlock_t ...@@ -211,9 +211,6 @@ raw_spinlock_t and spinlock_t
raw_spinlock_t raw_spinlock_t
-------------- --------------
raw_spinlock_t is a strict spinning lock implementation regardless of the
kernel configuration including PREEMPT_RT enabled kernels.
raw_spinlock_t is a strict spinning lock implementation in all kernels, raw_spinlock_t is a strict spinning lock implementation in all kernels,
including PREEMPT_RT kernels. Use raw_spinlock_t only in real critical including PREEMPT_RT kernels. Use raw_spinlock_t only in real critical
core code, low-level interrupt handling and places where disabling core code, low-level interrupt handling and places where disabling
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册