summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_functions_graph.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-09-10 17:22:44 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-09-10 17:22:44 -0400
commitfc06b8520b3bf9aaeb2e27debe6719c215bd4916 (patch)
treef657ece9cd7b0e8f6a0151dc8c4eee1266f2a109 /kernel/trace/trace_functions_graph.c
parent197e2eabc90c203d1086916b7f66694ba5fbb937 (diff)
downloadop-kernel-dev-fc06b8520b3bf9aaeb2e27debe6719c215bd4916.zip
op-kernel-dev-fc06b8520b3bf9aaeb2e27debe6719c215bd4916.tar.gz
x86/tracing: comment need for atomic nop
The dynamic function tracer relys on the macro P6_NOP5 always being an atomic NOP. If for some reason it is changed to be two operations (like a nop2 nop3) it can faults within the kernel when the function tracer modifies the code. This patch adds a comment to note that the P6_NOPs are expected to be atomic. This will hopefully prevent anyone from changing that. Reported-by: Mathieu Desnoyer <mathieu.desnoyers@polymtl.ca> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud