update_sg_lb_stats — Update sched_group's statistics for load balancing.
void fsfuncupdate_sg_lb_stats ( | struct lb_env * env, |
| struct sched_group * group, | |
| int load_idx, | |
| int local_group, | |
| const struct cpumask * cpus, | |
| int * balance, | |
struct sg_lb_stats * sgs); |
envThe load balancing environment.
groupsched_group whose statistics are to be updated.
load_idxLoad index of sched_domain of this_cpu for load calc.
local_groupDoes group contain this_cpu.
cpusSet of cpus considered for load balancing.
balanceShould we balance.
sgsvariable to hold the statistics for this group.