diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2023-11-24 15:06:46 -0800 |
---|---|---|
committer | Boqun Feng <boqun.feng@gmail.com> | 2024-02-14 07:53:49 -0800 |
commit | 8dbc33b4d1a19ff43930dc983c457946241078e8 (patch) | |
tree | 60b585da1e2ce8d58475921516c244019525c6ee /Documentation/RCU/rcubarrier.rst | |
parent | 120311acb01d7360dcc70c0862c83758fbcd28d2 (diff) | |
download | linux-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