ftrace: Free hash with call_rcu_sched()
authorSteven Rostedt <srostedt@redhat.com>
Thu, 5 May 2011 22:03:47 +0000 (18:03 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 18 May 2011 19:29:50 +0000 (15:29 -0400)
commit07fd5515f3b5c20704707f63e7f4485b534508a8
treef018ec497f8c6b49a0fcfcd7a92a600e670f90f2
parent2b499381bc50ede01b3d8eab164ca2fad00655f0
ftrace: Free hash with call_rcu_sched()

When a hash is modified and might be in use, we need to perform
a schedule RCU operation on it, as the hashes will soon be used
directly in the function tracer callback.

Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c