Re: [PATCH] cpufreq: conservative: Take limits changes into account properly

2018-10-16 Thread Viresh Kumar
On 15-10-18, 23:21, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > If the policy limits change between invocations of cs_dbs_update(), > the requested frequency value stored in dbs_info may not be updated > and the function may use a stale value of it next time. Moreover, if > idle perio

Re: [PATCH] cpufreq: conservative: Take limits changes into account properly

2018-10-15 Thread Waldemar Rymarkiewicz
On Mon, 15 Oct 2018 at 23:24, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > If the policy limits change between invocations of cs_dbs_update(), > the requested frequency value stored in dbs_info may not be updated > and the function may use a stale value of it next time. Moreover, if

[PATCH] cpufreq: conservative: Take limits changes into account properly

2018-10-15 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If the policy limits change between invocations of cs_dbs_update(), the requested frequency value stored in dbs_info may not be updated and the function may use a stale value of it next time. Moreover, if idle periods are takem into account by cs_dbs_update(), the request