summaryrefslogtreecommitdiff
path: root/Documentation/RCU/lockdep-splat.txt
diff options
context:
space:
mode:
authorJoel Fernandes (Google) <joel@joelfernandes.org>2018-10-09 04:33:41 +0300
committerPaul E. McKenney <paulmck@linux.ibm.com>2018-11-12 19:56:25 +0300
commit93eb14201fc690687c2d94865bc38c1aa23356b8 (patch)
treec724b95dbf03d099e65a96de629b7ea965e779db /Documentation/RCU/lockdep-splat.txt
parent1c7d6d4411a1ce7530cbdc4605261c560e07d51a (diff)
downloadlinux-93eb14201fc690687c2d94865bc38c1aa23356b8.tar.xz
doc: Make reader aware of rcu_dereference_protected
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>
Diffstat (limited to 'Documentation/RCU/lockdep-splat.txt')
0 files changed, 0 insertions, 0 deletions