aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2010-06-17 18:02:37 +0200
committerThomas Gleixner <[email protected]>2010-06-17 19:37:29 +0200
commit3310d4d38fbc514e7b18bd3b1eea8effdd63b5aa (patch)
tree14e2a5b6126c9b1341a3d4bf5299545ce4b1999a /tools/perf/util/trace-event-scripting.c
parent7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff)
nohz: Fix nohz ratelimit
Chris Wedgwood reports that 39c0cbe (sched: Rate-limit nohz) causes a serial console regression, unresponsiveness, and indeed it does. The reason is that the nohz code is skipped even when the tick was already stopped before the nohz_ratelimit(cpu) condition changed. Move the nohz_ratelimit() check to the other conditions which prevent long idle sleeps. Reported-by: Chris Wedgwood <[email protected]> Tested-by: Brian Bloniarz <[email protected]> Signed-off-by: Mike Galbraith <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: Jiri Kosina <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Greg KH <[email protected]> Cc: Alan Cox <[email protected]> Cc: OGAWA Hirofumi <[email protected]> Cc: Jef Driesen <[email protected]> LKML-Reference: <1276790557.27822.516.camel@twins> Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions