diff options
| author | Mike Galbraith <[email protected]> | 2011-01-05 04:41:17 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2011-01-18 14:09:44 +0000 |
| commit | d7d8294415f0ce4254827d4a2a5ee88b00be52a8 (patch) | |
| tree | 9f8024d6566bc391fcb2aced8427db81ca4e9078 /drivers/net/xen-netback/interface.c | |
| parent | sched: Replace rq->bkl_count with rq->rq_sched_info.bkl_count (diff) | |
| download | kernel-d7d8294415f0ce4254827d4a2a5ee88b00be52a8.tar.gz kernel-d7d8294415f0ce4254827d4a2a5ee88b00be52a8.zip | |
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 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
