Name

calculate_imbalance — Calculate the amount of imbalance present within the groups of a given sched_domain during load balance.

Synopsis

void fsfunccalculate_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

Cpu for which currently load balance is being performed.

imbalance

The variable to store the imbalance.