Re: [PATCH v2 2/4] cpufreq: Introduce a more generic way to set default per-policy boost flag
From: Viresh Kumar
Date: Tue Jan 21 2025 - 01:38:07 EST
On 21-01-25, 14:22, zhenglifeng (A) wrote:
> On 2025/1/21 12:20, Viresh Kumar wrote:
>
> > On 21-01-25, 09:45, zhenglifeng (A) wrote:
> >> On 2025/1/20 17:01, Viresh Kumar wrote:
> >>> On 17-01-25, 18:14, Lifeng Zheng wrote:
> >>>> + /* Let the per-policy boost flag mirror the cpufreq_driver boost during init */
> >>>> + if (policy->boost_enabled != cpufreq_boost_enabled()) {
> >>>> + policy->boost_enabled = cpufreq_boost_enabled();
> >>>> + ret = cpufreq_driver->set_boost(policy, policy->boost_enabled);
> >>>
> >>> I though you agreed to do some optimization here ?
> >>
> >> Sorry. Do I miss something here?
> >
> > https://lore.kernel.org/all/17c7ed77-21f1-4093-91fc-f3eaa863d312@xxxxxxxxxx/
> >
>
> I think I already done that, isn't it?
And I misread /facepalm .
--
viresh