]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit78e466c0e9fcdc6ca860c848fd23071a0c272b33
treef018ec497f8c6b49a0fcfcd7a92a600e670f90f2
parent0fcb0de5a886338c74df4e57a632708d2cb2b53b
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