From 272353502aeb1c4005e624c2ed1781b3e375de4f Mon Sep 17 00:00:00 2001 From: Anan Jaser Date: Wed, 23 Sep 2020 02:59:17 +0400 Subject: [PATCH] kernel: sched: fix misleading intendation Change-Id: Ife6638d4ce17a1e8f58c747b905b87257ebe170b --- kernel/sched/fair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 8a1f6293176a..1dad9586d55b 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -9920,9 +9920,9 @@ static int move_specific_task(struct lb_env *env, struct task_struct *pm) struct task_struct *p, *n; list_for_each_entry_safe(p, n, &env->src_rq->cfs_tasks, se.group_node) { - if (throttled_lb_pair(task_group(p), env->src_rq->cpu, + if (throttled_lb_pair(task_group(p), env->src_rq->cpu, env->dst_cpu)) - continue; + continue; if (!hmp_can_migrate_task(p, env)) continue; -- 2.20.1