Name

fix_small_imbalance — Calculate the minor imbalance that exists amongst the groups of a sched_domain, during load balancing.

Synopsis

void fix_small_imbalance (struct sd_lb_stats * sds,
 int this_cpu,
 unsigned long * imbalance);
 

Arguments

sds

Statistics of the sched_domain whose imbalance is to be calculated.

this_cpu

The cpu at whose sched_domain we're performing load-balance.

imbalance

Variable to store the imbalance.