Messages in this thread | | | From | Lei Wen <> | Subject | [PATCH v4 0/4] small fix for scale usage | Date | Tue, 18 Jun 2013 21:04:15 +0800 |
| |
Here are three patches which correct scale usage in both fix_small_imbalance and update_sg_lb_stats.
And give out comment over when fix_small_imbalance would cause load change.
V2: fix scale usage for update_sg_lb_stats
V3: fix scale problem in comparing sds->busiest_load_per_task and sds->avg_load when there is not balanced group inside the domain
V4: env->imbalance should be applied with not scaled value, fix according to it. Fix one ping-pong adjustment for special case.
Lei Wen (4): sched: reduce calculation effort in fix_small_imbalance sched: scale the busy and this queue's per-task load before compare sched: scale cpu load for judgment of group imbalance sched: adjust fix_small_imbalance moving task condition
kernel/sched/fair.c | 85 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 54 insertions(+), 31 deletions(-)
-- 1.7.10.4
| |