diff options
author | 2008-12-16 22:08:58 +0100 | |
---|---|---|
committer | 2008-12-17 00:26:35 +0100 | |
commit | 2c2d7329d8afa9efa3ec24e19a53e7be9d14f242 (patch) | |
tree | 12dd840eef0475e81e0dc8f616229a030d7caae4 /kernel/irq/pm.c | |
parent | Merge branches 'tracing/fastboot', 'tracing/ftrace', 'tracing/function-graph-tracer' and 'tracing/hw-branch-tracing' into tracing/core (diff) | |
download | wireguard-linux-2c2d7329d8afa9efa3ec24e19a53e7be9d14f242.tar.xz wireguard-linux-2c2d7329d8afa9efa3ec24e19a53e7be9d14f242.zip |
tracing/ftrace: use preempt_enable_no_resched_notrace in ring_buffer_time_stamp()
Impact: prevent a trace recursion
After some tests with function graph tracer under x86-32, I saw some recursions
caused by ring_buffer_time_stamp() that calls preempt_enable_no_notrace() which
calls preempt_schedule() which is traced itself.
This patch re-enables preemption without rescheduling.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/irq/pm.c')
0 files changed, 0 insertions, 0 deletions