Pull power management fix from Rafael Wysocki: "This fixes a schedutil cpufreq governor regression from the 4.14 cycle that may cause a CPU idleness check to return incorrect results in some cases which leads to suboptimal decisions (Joel Fernandes)" * tag 'pm-4.15-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: cpufreq: schedutil: Use idle_calls counter of the remote CPU
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -119,6 +119,7 @@ extern void tick_nohz_idle_exit(void); · 118 unmodified lines | ||
| 119 | 119 | extern void tick_nohz_irq_exit(void); |
| 120 | 120 | extern ktime_t tick_nohz_get_sleep_length(void); |
| 121 | 121 | extern unsigned long tick_nohz_get_idle_calls(void); |
| 122 | +extern unsigned long tick_nohz_get_idle_calls_cpu(int cpu); | |
| 122 | 123 | extern u64 get_cpu_idle_time_us(int cpu, u64 *last_update_time); |
| 123 | 124 | extern u64 get_cpu_iowait_time_us(int cpu, u64 *last_update_time); |
| 124 | 125 | #else /* !CONFIG_NO_HZ_COMMON */ |