]> asedeno.scripts.mit.edu Git - linux.git/commit
tracepoint: Remove smp_read_barrier_depends() from comment
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 9 Oct 2017 18:30:11 +0000 (11:30 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 4 Dec 2017 18:52:56 +0000 (10:52 -0800)
commit243d1a7977ae0814aa1ccb8bb87f8a4e0822ca8f
tree06f7f98bf99d03b748bb85f12290c98c57558c57
parent548095dea63ffc016d39c35b32c628d033638aca
tracepoint: Remove smp_read_barrier_depends() from comment

The comment in tracepoint_add_func() mentions smp_read_barrier_depends(),
whose use should be quite restricted.  This commit updates the comment
to instead mention the smp_store_release() and rcu_dereference_sched()
that the current code actually uses.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
kernel/tracepoint.c