Skip to content
Commit 022d1b35 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

doc: Update rcu_access_pointer() advice in rcu_dereference.rst



This commit updates the rcu_access_pointer() advice, noting that its
return value should not be assigned to a local variable, and also noting
that there is little point in using rcu_access_pointer() within an RCU
read-side critical section.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent ca8a439e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment