summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_functions_graph.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-06-02 20:01:19 +0200
committerSteven Rostedt <rostedt@goodmis.org>2009-06-02 20:42:17 +0200
commit26c01624a2a40f8a4ddf6449b65c9b1c418d0e72 (patch)
treeeeff81aa0fa56ba1f2c180d4ec6e64cb31af898e /kernel/trace/trace_functions_graph.c
parentfunction-graph: enable the stack after initialization of other variables (diff)
downloadlinux-26c01624a2a40f8a4ddf6449b65c9b1c418d0e72.tar.xz
linux-26c01624a2a40f8a4ddf6449b65c9b1c418d0e72.zip
function-graph: add memory barriers for accessing task's ret_stack
The code that handles the tasks ret_stack allocation for every task assumes that only an interrupt can cause issues (even though interrupts are disabled). In reality, the code is allocating the ret_stack for tasks that may be running on other CPUs and there are not efficient memory barriers to handle this case. [ Impact: prevent crash due to using of uninitialized ret_stack variables ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions