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

Commit 72a3871c authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched: Improve the scheduler



This change is for general scheduler improvement.

Change-Id: Icf76108b3ac676e7687848cb991ea9caf67962d0
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent bf4eaa44
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6496,7 +6496,7 @@ static void walt_find_best_target(struct sched_domain *sd, cpumask_t *cpus,
					struct find_best_target_env *fbt_env)
{
	unsigned long min_util = uclamp_task_util(p);
	unsigned long target_max_spare_cap = 0;
	long target_max_spare_cap = 0;
	unsigned long best_idle_cuml_util = ULONG_MAX;
	/* Initialise with deepest possible cstate (INT_MAX) */
	int shallowest_idle_cstate = INT_MAX;