Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rcu: Fix comment for rcu_dereference_raw_notrace

rcu_dereference_raw() calls indirectly rcu_read_lock_held() while
rcu_dereference_raw_notrace() does not so fix the comment about the latter.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

authored by

Alexey Kardashevskiy and committed by
Paul E. McKenney
f039f0af 7c9906ca

+1 -1
+1 -1
include/linux/rcupdate.h
··· 741 741 * The tracing infrastructure traces RCU (we want that), but unfortunately 742 742 * some of the RCU checks causes tracing to lock up the system. 743 743 * 744 - * The tracing version of rcu_dereference_raw() must not call 744 + * The no-tracing version of rcu_dereference_raw() must not call 745 745 * rcu_read_lock_held(). 746 746 */ 747 747 #define rcu_dereference_raw_notrace(p) __rcu_dereference_check((p), 1, __rcu)