UPDATE_SG_LB_STATS(9) Driver Basics UPDATE_SG_LB_STATS(9)NAMEupdate_sg_lb_stats - Update sched_group's statistics for load
balancing.
SYNOPSIS
void update_sg_lb_stats(struct lb_env * env,
struct sched_group * group, int load_idx,
int local_group, int * balance,
struct sg_lb_stats * sgs);
ARGUMENTS
env
The load balancing environment.
group
sched_group whose statistics are to be updated.
load_idx
Load index of sched_domain of this_cpu for load calc.
local_group
Does group contain this_cpu.
balance
Should we balance.
sgs
variable to hold the statistics for this group.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 UPDATE_SG_LB_STATS(9)