ftrace: Use the rcu _notrace variants for rcu_dereference_raw() and friends
authorSteven Rostedt <rostedt@goodmis.org>
Tue, 28 May 2013 18:38:43 +0000 (14:38 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 29 May 2013 02:48:00 +0000 (22:48 -0400)
commit1bb539ca36e21c2f4fce0865e11df384bc7b7656
treedc428dcb96afce5b34e671d0c4c08975807c0c4f
parent12bcbe66d7b3cc9f9f86cd02f925666eaa3c2107
ftrace: Use the rcu _notrace variants for rcu_dereference_raw() and friends

As rcu_dereference_raw() under RCU debug config options can add quite a
bit of checks, and that tracing uses rcu_dereference_raw(), these checks
happen with the function tracer. The function tracer also happens to trace
these debug checks too. This added overhead can livelock the system.

Have the function tracer use the new RCU _notrace equivalents that do
not do the debug checks for RCU.

Link: http://lkml.kernel.org/r/20130528184209.467603904@goodmis.org
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c