]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "cpufreq: governor: Fix negative idle_time when configured with CONFIG_HZ_PERI...
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 21 Apr 2016 18:57:47 +0000 (20:57 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 Apr 2016 00:39:20 +0000 (02:39 +0200)
commit462a370ddf9fb9bdcb38e7a2e4b8e607f7fa43be
treefcdb842474f1dfd6b385d396f11541e2a6b66a1c
parent6c2db06430f8bee65661589f724751b03d1b0ddc
Revert "cpufreq: governor: Fix negative idle_time when configured with CONFIG_HZ_PERIODIC"

Revert commit f744cfd59980 (cpufreq: governor: Fix negative idle_time
when configured with CONFIG_HZ_PERIODIC) that introduced a regression
by causing the ondemand cpufreq governor to misbehave for
CONFIG_TICK_CPU_ACCOUNTING unset (the frequency goes up to the max at
one point and stays there indefinitely).

The revert takes subsequent modifications of the code in question into
account.

Fixes: f744cfd59980 (cpufreq: governor: Fix negative idle_time when configured with CONFIG_HZ_PERIODIC)
Link: https://bugzilla.kernel.org/show_bug.cgi?id=115261
Reported-and-tested-by: Timo Valtoaho <timo.valtoaho@gmail.com>
Cc: 4.5+ <stable@vger.kernel.org> # 4.5+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cpufreq_governor.c