Commit 2c8bce60 authored by Paul E. McKenney's avatar Paul E. McKenney

doc: Remove obsolete RCU-bh and RCU-sched update-side API members

synchronize_rcu_bh(), synchronize_rcu_bh_expedited(), call_rcu_bh(),
rcu_barrier_bh(), synchronize_sched(), synchronize_rcu_sched_expedited(),
call_rcu_sched(), and rcu_barrier_sched() no longer exist, so this
commit removes mention of them.
Reported-by: default avatarJoel Fernandes <joel@joelfernandes.org>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent be06c257
...@@ -2438,13 +2438,13 @@ glance as if rcu_read_unlock_bh() was executing very slowly. ...@@ -2438,13 +2438,13 @@ glance as if rcu_read_unlock_bh() was executing very slowly.
The `RCU-bh The `RCU-bh
API <https://lwn.net/Articles/609973/#RCU%20Per-Flavor%20API%20Table>`__ API <https://lwn.net/Articles/609973/#RCU%20Per-Flavor%20API%20Table>`__
includes rcu_read_lock_bh(), rcu_read_unlock_bh(), includes rcu_read_lock_bh(), rcu_read_unlock_bh(), rcu_dereference_bh(),
rcu_dereference_bh(), rcu_dereference_bh_check(), rcu_dereference_bh_check(), and rcu_read_lock_bh_held(). However, the
synchronize_rcu_bh(), synchronize_rcu_bh_expedited(), old RCU-bh update-side APIs are now gone, replaced by synchronize_rcu(),
call_rcu_bh(), rcu_barrier_bh(), and synchronize_rcu_expedited(), call_rcu(), and rcu_barrier(). In addition,
rcu_read_lock_bh_held(). However, the update-side APIs are now anything that disables bottom halves also marks an RCU-bh read-side
simple wrappers for other RCU flavors, namely RCU-sched in critical section, including local_bh_disable() and local_bh_enable(),
CONFIG_PREEMPT=n kernels and RCU-preempt otherwise. local_irq_save() and local_irq_restore(), and so on.
Sched Flavor (Historical) Sched Flavor (Historical)
~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
...@@ -2481,13 +2481,13 @@ The `RCU-sched ...@@ -2481,13 +2481,13 @@ The `RCU-sched
API <https://lwn.net/Articles/609973/#RCU%20Per-Flavor%20API%20Table>`__ API <https://lwn.net/Articles/609973/#RCU%20Per-Flavor%20API%20Table>`__
includes rcu_read_lock_sched(), rcu_read_unlock_sched(), includes rcu_read_lock_sched(), rcu_read_unlock_sched(),
rcu_read_lock_sched_notrace(), rcu_read_unlock_sched_notrace(), rcu_read_lock_sched_notrace(), rcu_read_unlock_sched_notrace(),
rcu_dereference_sched(), rcu_dereference_sched_check(), rcu_dereference_sched(), rcu_dereference_sched_check(), and
synchronize_sched(), synchronize_rcu_sched_expedited(), rcu_read_lock_sched_held(). However, the old RCU-sched update-side APIs
call_rcu_sched(), rcu_barrier_sched(), and are now gone, replaced by synchronize_rcu(), synchronize_rcu_expedited(),
rcu_read_lock_sched_held(). However, anything that disables call_rcu(), and rcu_barrier(). In addition, anything that disables
preemption also marks an RCU-sched read-side critical section, including preemption also marks an RCU-sched read-side critical section,
preempt_disable() and preempt_enable(), local_irq_save() and including preempt_disable() and preempt_enable(), local_irq_save()
local_irq_restore(), and so on. and local_irq_restore(), and so on.
Sleepable RCU Sleepable RCU
~~~~~~~~~~~~~ ~~~~~~~~~~~~~
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment