mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
sched/walt: make TASK_BOOST_STRICT_MAX task have high chance for running on prime core
TASK_BOOST_STRICT_MAX task can cause performance influence if it haven't running on prime core, so do this for these tasks have high chance for running on prime core. Change-Id: I249dbe1c201934ea3c4610e93b1b71b24fb20d80 Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
This commit is contained in:
parent
4349ffdf24
commit
30c5ecaa7f
|
|
@ -343,7 +343,8 @@ static void walt_find_best_target(struct sched_domain *sd,
|
|||
if (fbt_env->skip_cpu == i)
|
||||
continue;
|
||||
|
||||
if (wrq->num_mvp_tasks > 0)
|
||||
if (wrq->num_mvp_tasks > 0 &&
|
||||
per_task_boost(p) != TASK_BOOST_STRICT_MAX)
|
||||
continue;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user