Home
last modified time | relevance | path

Searched refs:prev_eff_load (Results 1 - 1 of 1) sorted by relevance

/device/soc/rockchip/common/sdk_linux/kernel/sched/
H A Dfair.c6149 s64 this_eff_load, prev_eff_load; in wake_affine_weight() local
6171 prev_eff_load = cpu_load(cpu_rq(prev_cpu)); in wake_affine_weight()
6172 prev_eff_load -= task_load; in wake_affine_weight()
6174 prev_eff_load *= FAIR_ONEHUNDRED + (sd->imbalance_pct - FAIR_ONEHUNDRED) / 0x2; in wake_affine_weight()
6176 prev_eff_load *= capacity_of(this_cpu); in wake_affine_weight()
6179 * If sync, adjust the weight of prev_eff_load such that if in wake_affine_weight()
6185 prev_eff_load += 1; in wake_affine_weight()
6188 return this_eff_load < prev_eff_load ? this_cpu : nr_cpumask_bits; in wake_affine_weight()

Completed in 15 milliseconds