diff options
author | Peter Zijlstra <[email protected]> | 2019-04-23 22:03:18 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2019-04-26 11:45:03 -0400 |
commit | d6097c9e4454adf1f8f2c9547c2fa6060d55d952 (patch) | |
tree | cd9864136dae1127da63fa0b56ad79016cae53c3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 91862cc7867bba4ee5c8fcf0ca2f1d30427b6129 (diff) |
trace: Fix preempt_enable_no_resched() abuse
Unless the very next line is schedule(), or implies it, one must not use
preempt_enable_no_resched(). It can cause a preemption to go missing and
thereby cause arbitrary delays, breaking the PREEMPT=y invariant.
Link: http://lkml.kernel.org/r/[email protected]
Cc: Waiman Long <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: the arch/x86 maintainers <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Tim Chen <[email protected]>
Cc: huang ying <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: [email protected]
Fixes: 2c2d7329d8af ("tracing/ftrace: use preempt_enable_no_resched_notrace in ring_buffer_time_stamp()")
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions