diff options
author | Mike Galbraith <[email protected]> | 2011-01-05 05:41:17 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-01-18 15:09:44 +0100 |
commit | d7d8294415f0ce4254827d4a2a5ee88b00be52a8 (patch) | |
tree | 9f8024d6566bc391fcb2aced8427db81ca4e9078 /tools/perf/util/trace-event-scripting.c | |
parent | fce2097983d914ea8c2338efc6f6e9bb737f6ae4 (diff) |
sched: Fix signed unsigned comparison in check_preempt_tick()
Signed unsigned comparison may lead to superfluous resched if leftmost
is right of the current task, wasting a few cycles, and inadvertently
_lengthening_ the current task's slice.
Reported-by: Venkatesh Pallipadi <[email protected]>
Signed-off-by: Mike Galbraith <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions