mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08: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 |