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

Commit cca7b89e authored by Arun KS's avatar Arun KS
Browse files

sched/fair: Initialize fbt_env.need_idle



This patch initializes 'fbt_env.need_idle' to avoid getting any random
value.

Change-Id: I48c8a1dce988c5b2bba912194c76ffb7ea7b6b6a
Signed-off-by: default avatarArun KS <arunks@codeaurora.org>
parent b62aaff3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8152,6 +8152,7 @@ static int find_energy_efficient_cpu(struct sched_domain *sd,
	int boosted = (schedtune_task_boost(p) > 0 || per_task_boost(p) > 0);

	fbt_env.fastpath = 0;
	fbt_env.need_idle = 0;

	if (trace_sched_task_util_enabled())
		start_t = sched_clock();