mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
sched/walt: use num_mvp_tasks for check if rq have mvp task
There is mvp task running on rq if num_mvp_task not equal 0, so use num_mvp_tasks check if rq have mvp task. Change-Id: Ia653b8d1dbbaa642ccc06296338617252bf1225b Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
This commit is contained in:
parent
4bd7dbf686
commit
52016a65f0
|
|
@ -327,8 +327,7 @@ static void walt_find_best_target(struct sched_domain *sd,
|
|||
if (fbt_env->skip_cpu == i)
|
||||
continue;
|
||||
|
||||
if (per_task_boost(cpu_rq(i)->curr) ==
|
||||
TASK_BOOST_STRICT_MAX)
|
||||
if (wrq->num_mvp_tasks > 0)
|
||||
continue;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user