linux/Documentation/RCU
Paul E. McKenney 120311acb0 doc: Spinlocks are implied RCU readers
In kernels built with CONFIG_PREEMPT_RT=n, spinlock critical sections
are RCU readers because they disable preemption.  However, they are also
RCU readers in CONFIG_PREEMPT_RT=y because the -rt locking primitives
contain rcu_read_lock() and rcu_read_unlock().  Therefore, upgrade
rcu_dereference.rst to document this non-obvious case.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Closes: https://lore.kernel.org/lkml/CAHk-=whGKvjHCtJ6W4pQ0_h_k9fiFQ8V2GpM=BqYnB2X=SJ+XQ@mail.gmail.com/
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
2024-02-14 07:53:49 -08:00
..
Design Merge branches 'rcu/torture', 'rcu/fixes', 'rcu/docs', 'rcu/refscale', 'rcu/tasks' and 'rcu/stall' into rcu/next 2023-10-23 15:24:11 +02:00
checklist.rst doc: Clarify RCU Tasks reader/updater checklist 2023-12-14 01:15:52 +05:30
index.rst doc: Remove arrayRCU.rst 2022-10-18 14:58:50 -07:00
listRCU.rst rcu: Describe listRCU read-side guarantees 2023-09-11 23:09:35 +02:00
lockdep-splat.rst documentation/rcu: Fix typo 2023-07-14 14:55:56 -07:00
lockdep.rst Documentation: RCU: Correct spelling 2023-04-05 13:47:18 +00:00
NMI-RCU.rst doc: Update NMI-RCU.rst 2023-01-03 17:27:37 -08:00
rcu_dereference.rst doc: Spinlocks are implied RCU readers 2024-02-14 07:53:49 -08:00
rcu.rst doc: Update rcu.rst URL to RCU publications 2023-01-05 11:27:56 -08:00
rcubarrier.rst docs/RCU/rcubarrier: Right-adjust line numbers in code snippets 2023-01-05 11:27:56 -08:00
rculist_nulls.rst Docs/RCU/rculist_nulls: Fix text about atomic_set_release() 2023-07-14 14:55:57 -07:00
rcuref.rst docs: RCU: Convert rcuref.txt to ReST 2020-06-29 11:58:11 -07:00
RTFP.txt Documentation: RCU: Correct spelling 2023-04-05 13:47:18 +00:00
stallwarn.rst doc: Fix htmldocs build warnings of stallwarn.rst 2023-01-05 11:27:56 -08:00
torture.rst Documentation: RCU: Remove repeated word in comments 2023-12-14 01:14:10 +05:30
UP.rst Documentation: RCU: Correct spelling 2023-04-05 13:47:18 +00:00
whatisRCU.rst Documentation: RCU: Fix section numbers after adding Section 7 in whatisRCU.rst 2023-09-11 23:08:45 +02:00