Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a9f235f authored by Shaleen Agrawal's avatar Shaleen Agrawal
Browse files

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: default avatarShaleen Agrawal <shalagra@codeaurora.org>
parent 1c0ece44
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);