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

Commit d3b1565d authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched/fair: Improve the scheduler



This change is for general scheduler improvements.

Change-Id: I24fcc52e2e1f6dcab5f9aae1c1ebe90d37a05828
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 4085d5bf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6915,7 +6915,7 @@ static void find_best_target(struct sched_domain *sd, cpumask_t *cpus,
	unsigned long best_active_cuml_util = ULONG_MAX;
	unsigned long best_idle_cuml_util = ULONG_MAX;
	bool prefer_idle = schedtune_prefer_idle(p);
	bool boosted = fbt_env->boosted;
	bool boosted;
	/* Initialise with deepest possible cstate (INT_MAX) */
	int shallowest_idle_cstate = INT_MAX;
	struct sched_domain *start_sd;
@@ -6941,7 +6941,7 @@ static void find_best_target(struct sched_domain *sd, cpumask_t *cpus,
	 * case we initialise target_capacity to 0.
	 */
	prefer_idle = uclamp_latency_sensitive(p);
	boosted = uclamp_boosted(p);
	boosted = fbt_env->boosted || uclamp_boosted(p);
	if (prefer_idle && boosted)
		target_capacity = 0;