Re: [PATCH] cpufreq: schedutil: Don't skip freq update if need_freq_update is set

2020-11-01 Thread Viresh Kumar
On 30-10-20, 16:23, Rafael J. Wysocki wrote: > On Fri, Oct 30, 2020 at 4:07 PM Rafael J. Wysocki wrote: > > > > On Fri, Oct 30, 2020 at 8:31 AM Viresh Kumar > > wrote: > > > > > > The cpufreq policy's frequency limits (min/max) can get changed at any > > > point of time, while schedutil is tryin

Re: [PATCH] cpufreq: schedutil: Don't skip freq update if need_freq_update is set

2020-10-30 Thread Rafael J. Wysocki
On Fri, Oct 30, 2020 at 4:07 PM Rafael J. Wysocki wrote: > > On Fri, Oct 30, 2020 at 8:31 AM Viresh Kumar wrote: > > > > The cpufreq policy's frequency limits (min/max) can get changed at any > > point of time, while schedutil is trying to update the next frequency. > > Though the schedutil gover

Re: [PATCH] cpufreq: schedutil: Don't skip freq update if need_freq_update is set

2020-10-30 Thread Rafael J. Wysocki
On Fri, Oct 30, 2020 at 8:31 AM Viresh Kumar wrote: > > The cpufreq policy's frequency limits (min/max) can get changed at any > point of time, while schedutil is trying to update the next frequency. > Though the schedutil governor has necessary locking and support in place > to make sure we don't

[PATCH] cpufreq: schedutil: Don't skip freq update if need_freq_update is set

2020-10-30 Thread Viresh Kumar
The cpufreq policy's frequency limits (min/max) can get changed at any point of time, while schedutil is trying to update the next frequency. Though the schedutil governor has necessary locking and support in place to make sure we don't miss any of those updates, there is a corner case where the go