Documentation/locking/locktypes: Fix PREEMPT_RT _bh() description
Subsystems (2)
PATCH 1/1 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 <[email protected]>
Signed-off-by Andrew Halaney <[email protected]>
--- Documentation/locking/locktypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/locking/locktypes.rst +1 -1
@@ -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:
Signature · 1 line
2.35.1
Quoted 5 lines · Andrew Halaney
With
PREEMPT_RTthe_bh()version of a spinlock leaves preemption enabled, align the doc to say that instead of the opposite.Reported-by Leah Leshchinsky <[email protected]>Signed-off-by Andrew Halaney <[email protected]>
Reviewed-by Boqun Feng <[email protected]>
Regards,
Boqun
Quoted 20 lines
--- Documentation/locking/locktypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/locking/locktypes.rst +1
-1@@ -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:Signature · 1 line
2.35.1
Quoted 14 lines · Andrew Halaney
With
PREEMPT_RTthe_bh()version of a spinlock leaves preemption enabled, align the doc to say that instead of the opposite.Reported-by Leah Leshchinsky <[email protected]>Signed-off-by Andrew Halaney <[email protected]>--- Documentation/locking/locktypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/locking/locktypes.rst +0
-0
Documentation/locking/locktypes.rst based on rt_mutex which changes the semantics: · line 251
Quoted 6 lines
Documentation/locking/locktypes.rst +1
-1@@ -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.
Applied, thanks.
jon