mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/4] small fix for scale usage
@ 2013-06-18 13:04 Lei Wen
  2013-06-18 13:04 ` [PATCH v4 1/4] sched: reduce calculation effort in fix_small_imbalance Lei Wen
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Lei Wen @ 2013-06-18 13:04 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, mingo, leiwen, linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-18 13:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-18 13:04 [PATCH v4 0/4] small fix for scale usage Lei Wen
2013-06-18 13:04 ` [PATCH v4 1/4] sched: reduce calculation effort in fix_small_imbalance Lei Wen
2013-06-18 13:04 ` [PATCH v4 2/4] sched: scale the busy and this queue's per-task load before compare Lei Wen
2013-06-18 13:04 ` [PATCH v4 3/4] sched: scale cpu load for judgment of group imbalance Lei Wen
2013-06-18 13:04 ` [PATCH v4 4/4] sched: adjust fix_small_imbalance moving task condition Lei Wen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®