[PATCH 0/7] sched/fair: fixes and cleanups

From: Dietmar Eggemann
Date: Fri Apr 29 2016 - 15:33:22 EST


This is a collection of rather loosely coupled small changes to the cfs
scheduler related to:

Comments (patch 1/7, 2/7):

Remove/fix some outdated comments related to 'power aware scheduling'
and smpnice.

Load-balance (patch 3/7 - 5/7):

Change unit of load_above_capacity in calculate_imbalance() from
[load] to [load/capacity]

Refactoring logic in fix_small_imbalance() and remove
cpu_avg_load_per_task().

Misc (patch 6/7, 7/7):

Reorder update_sd_lb_stats() and use group_cfs_rq(se) throughout
fair.c.

Test-results:

IVB-EP (2*10*2):

perf stat --null --repeat 10 -- perf bench sched messaging -g 50 -l 5000

Before: After:
4.784556741 ( +- 0.99% ) 4.760953662 ( +- 0.47% )

Juno (ARM64) (2B/4l*1):

perf stat --null --repeat 10 -- perf bench sched messaging -g 20 -l 500

Before: After:
7.227439638 ( +- 0.50% ) 7.151685712 ( +- 0.64% )

Dietmar Eggemann (5):
sched/fair: Remove remaining power aware scheduling comments
sched/fair: Fix comment in calculate_imbalance()
sched/fair: Clean up the logic in fix_small_imbalance()
sched/fair: Reorder code in update_sd_lb_stats()
sched/fair: Use group_cfs_rq(se) instead of se->my_q

Morten Rasmussen (2):
sched/fair: Correct unit of load_above_capacity
sched/fair: Remove cpu_avg_load_per_task()

kernel/sched/fair.c | 71 ++++++++++++++++++++---------------------------------
1 file changed, 26 insertions(+), 45 deletions(-)

--
1.9.1