diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2008-11-15 02:37:44 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-16 07:57:37 +0100 |
commit | b01c746617da5e260803eb10ed64ca043e9a1241 (patch) | |
tree | 7b835904f337778b604048169dd064a87149aa99 /kernel/trace/ftrace.c | |
parent | Merge branch 'tracing/ftrace' into tracing/function-return-tracer (diff) | |
download | linux-b01c746617da5e260803eb10ed64ca043e9a1241.tar.xz linux-b01c746617da5e260803eb10ed64ca043e9a1241.zip |
tracing/function-return-tracer: add a barrier to ensure return stack index is incremented in memory
Impact: fix possible race condition in ftrace function return tracer
This fixes a possible race condition if index incrementation
is not immediately flushed in memory.
Thanks for Andi Kleen and Steven Rostedt for pointing out this issue
and give me this solution.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/ftrace.c')
0 files changed, 0 insertions, 0 deletions