Skip to content

Commit

Permalink
Revert "cpufreq: cpu-boost: don't raise min freq if the current frequ…
Browse files Browse the repository at this point in the history
…ency is already >= boost frequency"

This sounds a bit stupid after all, if the governor raises policy->cur before
cpu-boost boosts the min frequency then we're fucked and the boost won't occur
and hello jank ville. It's essentially seen on the bullhead and it's bad.

This reverts commit a886a87.
  • Loading branch information
franciscofranco committed Mar 4, 2018
1 parent e721559 commit 8679288
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/cpufreq/cpu-boost.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@ static int boost_adjust_notify(struct notifier_block *nb, unsigned long val,
min = max(b_min, ib_min);
min = min(min, policy->max);

if (policy->cur >= ib_min)
break;

pr_debug("CPU%u policy min before boost: %u kHz\n",
cpu, policy->min);
pr_debug("CPU%u boost min: %u kHz\n", cpu, min);
Expand Down

0 comments on commit 8679288

Please sign in to comment.