mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
sched: Enable latency sensitive feature
Make use of the existing need_idle feature to incorporate upstream latency sensitive tasks. Change-Id: Ie1513187d024b93c8b619d9e0a35d84195488696 Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
This commit is contained in:
parent
1c0ece4496
commit
4a9f235f48
1 changed files with 1 additions and 1 deletions
|
|
@ -6965,7 +6965,7 @@ int find_energy_efficient_cpu(struct task_struct *p, int prev_cpu,
|
|||
cpumask_t *candidates;
|
||||
bool is_rtg, curr_is_rtg;
|
||||
struct find_best_target_env fbt_env;
|
||||
bool need_idle = wake_to_idle(p);
|
||||
bool need_idle = wake_to_idle(p) || uclamp_latency_sensitive(p);
|
||||
u64 start_t = 0;
|
||||
int delta = 0;
|
||||
int task_boost = per_task_boost(p);
|
||||
|
|
|
|||
Loading…
Reference in a new issue