tracepoints: fix reentrancy
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 30 Sep 2008 05:51:12 +0000 (01:51 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:38:23 +0000 (10:38 +0200)
commit9a1e9693f534174945154197fec4ec92f168ce21
treed1477dc3492812c2f8a93afe37075857d4b1ce0f
parentca2db6cf30d6a45798b7a760d0c4f7735b16799d
tracepoints: fix reentrancy

The tracepoints had the same problem markers did have wrt reentrancy. Apply a
similar fix using a rcu_barrier after each tracepoint mutex lock.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/tracepoint.c