Web lists-archives.com

Re: [PATCH] cpufreq: Restore policy min/max limits on CPU online

On Fri, Mar 17, 2017 at 5:43 PM, Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
> On 17 March 2017 at 22:01, Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote:
>> IMO if we are not going to restore the governor, we also should not
>> restore the limits as those things are related.  Now, the governor can
>> be unloaded while the CPU is offline.
> I thought about it earlier but then governor and policy min/max
> looked independent to me. Why do you think they are related?

They are parts of one set of settings.

If the governor is not restored, the policy starts with the default
one, so why would it not start with the default limits then?

My opinion is that either we restore everything the way it was, or we
start afresh entirely.