mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
The whatisRCU.txt document says rcu_dereference() cannot be used outside of rcu_read_lock() protected sections. The commit adds a mention of rcu_dereference_protected(), so that the new reader knows that this API can be used to avoid update-side use of rcu_read_lock() and rcu_read_unlock(). Cc: tytso@mit.edu Suggested-by: tytso@mit.edu Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org> [ paulmck: Update wording, including further feedback from Joel. ] Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com> |
||
|---|---|---|
| .. | ||
| Design | ||
| arrayRCU.txt | ||
| checklist.txt | ||
| listRCU.txt | ||
| lockdep-splat.txt | ||
| lockdep.txt | ||
| NMI-RCU.txt | ||
| rcu_dereference.txt | ||
| rcu.txt | ||
| rcubarrier.txt | ||
| rculist_nulls.txt | ||
| rcuref.txt | ||
| RTFP.txt | ||
| stallwarn.txt | ||
| torture.txt | ||
| UP.txt | ||
| whatisRCU.txt | ||