Revert "kernel: ems/ego: Allow CPU frequency changes to be amended before they're set"

This reverts commit 5d1ef2f0ad.
This commit is contained in:
Ksawlii 2024-11-18 07:48:15 +01:00
parent be8bc49145
commit 2674d4402d

View file

@ -473,10 +473,6 @@ static bool ego_should_update_freq(struct ego_policy *egp, u64 time)
*/
rate_limit_ns = min(egp->up_rate_limit_ns, egp->down_rate_limit_ns);
/* If the last frequency wasn't set yet then we can still amend it */
if (egp->work_in_progress)
return true;
return delta_ns >= rate_limit_ns;
}