Re: [PATCH] cpufreq: Initialize the governor again while restoring policy
From: Viresh Kumar
Date: Thu Jul 09 2015 - 23:39:01 EST
On 10 July 2015 at 05:35, Rafael J. Wysocki <rjw@xxxxxxxxxxxxx> wrote:
>> - Because governors matched, we skip governor initialization and return
>> after calling __cpufreq_governor(CPUFREQ_GOV_LIMITS).
>
> But this sounds fragile in principle. What's the benefit from skipping the
> governor initialization in that case?
So this is the case where we have changed some property of the governor,
and the governor is already initialised. We need to exit the earlier governor
and initialize the new one only when the governor is actually switched.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/