diff options
author | 2023-11-24 15:06:46 -0800 | |
---|---|---|
committer | 2024-02-14 07:53:49 -0800 | |
commit | 8dbc33b4d1a19ff43930dc983c457946241078e8 (patch) | |
tree | 60b585da1e2ce8d58475921516c244019525c6ee /scripts/generate_rust_analyzer.py | |
parent | doc: Spinlocks are implied RCU readers (diff) | |
download | linux-rng-8dbc33b4d1a19ff43930dc983c457946241078e8.tar.xz linux-rng-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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions