mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Merge "sched/fair: do not pull single task if a dst_cpu is not idle"
This commit is contained in:
commit
fb91968bbd
@ -10209,7 +10209,8 @@ static int need_active_balance(struct lb_env *env)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if ((capacity_of(env->src_cpu) < capacity_of(env->dst_cpu)) &&
|
||||
if ((env->idle != CPU_NOT_IDLE) &&
|
||||
(capacity_of(env->src_cpu) < capacity_of(env->dst_cpu)) &&
|
||||
((capacity_orig_of(env->src_cpu) < capacity_orig_of(env->dst_cpu))) &&
|
||||
env->src_rq->cfs.h_nr_running == 1 &&
|
||||
cpu_overutilized(env->src_cpu) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user