]> git.baikalelectronics.ru Git - kernel.git/commit
rcu, ftrace: Fix RCU lockdep splat in ftrace_perf_buf_prepare()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 4 Mar 2010 01:50:18 +0000 (17:50 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Mar 2010 11:07:35 +0000 (12:07 +0100)
commit407667e59fb890868bba266977e1332f7e053865
tree1cd2582e669fe2ff580ddc707705e5efb18251de
parentdc887a3cd9b56ad7ab65acb8ec0b2741d95639b8
rcu, ftrace: Fix RCU lockdep splat in ftrace_perf_buf_prepare()

Change the pair of rcu_dereference() calls in
ftrace_perf_buf_prepare() to rcu_dereference_sched().

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: mathieu.desnoyers@polymtl.ca
Cc: josh@joshtriplett.org
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: Valdis.Kletnieks@vt.edu
Cc: dhowells@redhat.com
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1267667418-32233-3-git-send-email-paulmck@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/trace/ftrace.h
kernel/trace/trace_event_profile.c