diff options
author | Peter Zijlstra <[email protected]> | 2009-08-21 13:58:54 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-08-21 14:15:10 +0200 |
commit | a8af7246c114bfd939e539f9566b872c06f6225c (patch) | |
tree | d624ea07739b92d3ff1a676a3244fd7188d8198f /net/lapb/lapb_subr.c | |
parent | cde7e5ca4e329a157108769d1f752d191cbb71c6 (diff) |
sched: Avoid division by zero
Patch a5004278f0525dcb9aa43703ef77bf371ea837cd (sched: Fix
cgroup smp fairness) introduced the possibility of a
divide-by-zero because load-balancing is not synchronized
between sched_domains.
This can cause the state of cpus to change between the first
and second loop over the sched domain in tg_shares_up().
Reported-by: Yinghai Lu <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Jes Sorensen <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Linus Torvalds <[email protected]>
LKML-Reference: <1250855934.7538.30.camel@twins>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions