diff options
author | Paul Turner <[email protected]> | 2011-01-21 20:44:59 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-01-26 12:31:01 +0100 |
commit | e37b6a7b27b400c3aa488db8c6629a05095bc79c (patch) | |
tree | b27ed41b74eb7e69d2e6b02cc659c4fab3ef12ef /net/lapb/lapb_iface.c | |
parent | 6663050edd9c2e8b1e1f55c09459144d84c045f0 (diff) |
sched: Fix sign under-flows in wake_affine
While care is taken around the zero-point in effective_load to not exceed
the instantaneous rq->weight, it's still possible (e.g. using wake_idx != 0)
for (load + effective_load) to underflow.
In this case the comparing the unsigned values can result in incorrect balanced
decisions.
Signed-off-by: Paul Turner <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions