Name
check_power_save_busiest_group —
see if there is potential for some power-savings balance
Synopsis
int fsfunccheck_power_save_busiest_group ( | struct sd_lb_stats * sds, |
| int this_cpu, |
| unsigned long * imbalance) ; |
Arguments
sds
Variable containing the statistics of the sched_domain
under consideration.
this_cpu
Cpu at which we're currently performing load-balancing.
imbalance
Variable to store the imbalance.
Description
Check if we have potential to perform some power-savings balance.
If yes, set the busiest group to be the least loaded group in the
sched_domain, so that it's CPUs can be put to idle.
Returns 1 if there is potential to perform power-savings balance.
Else returns 0.