doc: Make checklist.rst note that spinlocks are implied RCU readers
authorPaul E. McKenney <paulmck@kernel.org>
Sat, 25 Nov 2023 00:23:56 +0000 (16:23 -0800)
committerBoqun Feng <boqun.feng@gmail.com>
Wed, 14 Feb 2024 15:53:49 +0000 (07:53 -0800)
commit3cf501612108b8a7a4cebf8a6ac1d7575080c88f
treeafaab60db82a5c0454eac18db96687081c7b520a
parent8dbc33b4d1a19ff43930dc983c457946241078e8
doc: Make checklist.rst note that spinlocks are implied 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 checklist.rst to document this non-obvious case.

While in the area, fix a typo by changing "read-side critical" to
"read-side critical section".

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Documentation/RCU/checklist.rst