mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
120311acb0
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> |
||
---|---|---|
.. | ||
Design | ||
checklist.rst | ||
index.rst | ||
listRCU.rst | ||
lockdep-splat.rst | ||
lockdep.rst | ||
NMI-RCU.rst | ||
rcu_dereference.rst | ||
rcu.rst | ||
rcubarrier.rst | ||
rculist_nulls.rst | ||
rcuref.rst | ||
RTFP.txt | ||
stallwarn.rst | ||
torture.rst | ||
UP.rst | ||
whatisRCU.rst |