summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAndrew Halaney <ahalaney@redhat.com>2022-02-24 15:23:12 -0600
committerJonathan Corbet <corbet@lwn.net>2022-03-04 10:13:19 -0700
commit0d2be10b3037c12d68003856b8d6c83d1b80e0c9 (patch)
tree38d9d0952e4565ff675cce763f05e04b8cbb949b /Documentation
parent247097e2bbff4201b85eee8de4f31b4065877f67 (diff)
downloadlwn-0d2be10b3037c12d68003856b8d6c83d1b80e0c9.tar.gz
lwn-0d2be10b3037c12d68003856b8d6c83d1b80e0c9.zip
Documentation/locking/locktypes: Fix PREEMPT_RT _bh() description
With PREEMPT_RT the _bh() version of a spinlock leaves preemption enabled, align the doc to say that instead of the opposite. Reported-by: Leah Leshchinsky <lleshchi@redhat.com> Signed-off-by: Andrew Halaney <ahalaney@redhat.com> Reviewed-by: Boqun Feng <boqun.feng@gmail.com> Link: https://lore.kernel.org/r/20220224212312.2601153-1-ahalaney@redhat.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/locking/locktypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/locking/locktypes.rst b/Documentation/locking/locktypes.rst
index 4fd7b70fcde1..bfa75ea1b66a 100644
--- a/Documentation/locking/locktypes.rst
+++ b/Documentation/locking/locktypes.rst
@@ -247,7 +247,7 @@ based on rt_mutex which changes the semantics:
Non-PREEMPT_RT kernels disable preemption to get this effect.
PREEMPT_RT kernels use a per-CPU lock for serialization which keeps
- preemption disabled. The lock disables softirq handlers and also
+ preemption enabled. The lock disables softirq handlers and also
prevents reentrancy due to task preemption.
PREEMPT_RT kernels preserve all other spinlock_t semantics: