summaryrefslogtreecommitdiff
path: root/Documentation/RCU/rcubarrier.rst
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2023-11-24 15:06:46 -0800
committerBoqun Feng <boqun.feng@gmail.com>2024-02-14 07:53:49 -0800
commit8dbc33b4d1a19ff43930dc983c457946241078e8 (patch)
tree60b585da1e2ce8d58475921516c244019525c6ee /Documentation/RCU/rcubarrier.rst
parent120311acb01d7360dcc70c0862c83758fbcd28d2 (diff)
downloadlinux-8dbc33b4d1a19ff43930dc983c457946241078e8.tar.gz
linux-8dbc33b4d1a19ff43930dc983c457946241078e8.tar.bz2
linux-8dbc33b4d1a19ff43930dc983c457946241078e8.zip
doc: Make whatisRCU.rst note that spinlocks are 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 in that case the locking primitives contain rcu_read_lock() and rcu_read_unlock(). Therefore, upgrade whatisRCU.rst to document this non-obvious case. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Diffstat (limited to 'Documentation/RCU/rcubarrier.rst')
0 files changed, 0 insertions, 0 deletions