Files
i2som-imx-linux/kernel
Steven Rostedt (Red Hat) 52cecaa205 tracing: Fix free of probe entry by calling call_rcu_sched()
commit 740466bc89 upstream.

Because function tracing is very invasive, and can even trace
calls to rcu_read_lock(), RCU access in function tracing is done
with preempt_disable_notrace(). This requires a synchronize_sched()
for updates and not a synchronize_rcu().

Function probes (traceon, traceoff, etc) must be freed after
a synchronize_sched() after its entry has been removed from the
hash. But call_rcu() is used. Fix this by using call_rcu_sched().

Also fix the usage to use hlist_del_rcu() instead of hlist_del().

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-28 12:12:06 -07:00
..
2013-03-04 06:06:44 +08:00
2011-09-23 12:05:29 +05:30
2012-03-28 18:30:03 +01:00
2012-03-29 19:52:46 +08:00
2012-12-17 10:37:46 -08:00
2012-07-16 09:04:42 -07:00
2012-03-28 18:30:03 +01:00
2011-10-31 17:30:44 -07:00
2012-10-28 10:14:13 -07:00
2011-09-19 17:04:37 -07:00
2012-03-15 18:17:55 -07:00