mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
Merge "sched/fair: consider uclamp boost while deciding the start_cpu"
This commit is contained in:
commit
e1007d065f
1 changed files with 3 additions and 2 deletions
|
|
@ -6388,8 +6388,9 @@ static int get_start_cpu(struct task_struct *p)
|
|||
struct root_domain *rd = cpu_rq(smp_processor_id())->rd;
|
||||
int start_cpu = rd->min_cap_orig_cpu;
|
||||
int task_boost = per_task_boost(p);
|
||||
bool boosted = task_boost_policy(p) == SCHED_BOOST_ON_BIG ||
|
||||
task_boost == TASK_BOOST_ON_MID;
|
||||
bool boosted = uclamp_boosted(p) ||
|
||||
task_boost_policy(p) == SCHED_BOOST_ON_BIG ||
|
||||
task_boost == TASK_BOOST_ON_MID;
|
||||
bool task_skip_min = task_skip_min_cpu(p);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue