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

Commit 071b6470 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: Skip resetting HMP stats when max frequencies remain unchanged"

parents 535a2c84 57e29051
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2777,6 +2777,10 @@ static int cpufreq_notifier_policy(struct notifier_block *nb,
	BUG_ON(!min_max_freq);
	BUG_ON(!policy->max);

	/* Changes to policy other than max_freq don't require any updates */
	if (orig_max_freq == policy->max)
		return 0;

	/*
	 * A changed min_max_freq or max_possible_freq (possible during bootup)
	 * needs to trigger re-computation of load_scale_factor and capacity for