Name

update_sd_lb_stats — Update sched_domain's statistics for load balancing.

Synopsis

void update_sd_lb_stats (struct sched_domain * sd,
 int this_cpu,
 enum cpu_idle_type idle,
 const struct cpumask * cpus,
 int * balance,
 struct sd_lb_stats * sds);
 

Arguments

sd

sched_domain whose statistics are to be updated.

this_cpu

Cpu for which load balance is currently performed.

idle

Idle status of this_cpu

cpus

Set of cpus considered for load balancing.

balance

Should we balance.

sds

variable to hold the statistics for this sched_domain.