diff options
author | Peter Zijlstra <peterz@infradead.org> | 2013-08-15 20:37:48 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-09-02 08:27:37 +0200 |
commit | 3ae11c90fd055ba1b1b03a014f851b395bdd26ff (patch) | |
tree | 6e2f571ab0ca90206bffacab9bf7aaaa91e25df5 /block/blk.h | |
parent | 38d0f7708543bcfa03d5ee55e8346f801b4a59c9 (diff) | |
download | kernel_goldelico_gta04-3ae11c90fd055ba1b1b03a014f851b395bdd26ff.zip kernel_goldelico_gta04-3ae11c90fd055ba1b1b03a014f851b395bdd26ff.tar.gz kernel_goldelico_gta04-3ae11c90fd055ba1b1b03a014f851b395bdd26ff.tar.bz2 |
sched/fair: Make group power more consistent
For easier access, less dereferences and more consistent value, store
the group power in update_sg_lb_stats() and use it thereafter. The
actual value in sched_group::sched_group_power::power can change
throughout the load-balance pass if we're unlucky.
Reviewed-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-739xxqkyvftrhnh9ncudutc7@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions