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:
Shaleen Agrawal 2020-07-17 12:46:10 -07:00
commit 4a9f235f48

View file

@ -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);