[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<OS3P286MB249073C57E2B5A36F45A02E0B1C02@OS3P286MB2490.JPNP286.PROD.OUTLOOK.COM>
Date: Wed, 12 Jun 2024 10:52:35 +0800
From: Riwen Lu <luriwen@...mail.com>
To: Viresh Kumar <viresh.kumar@...aro.org>,
Ionela Voinescu <ionela.voinescu@....com>
Cc: beata.michalska@....com, rafael@...nel.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, hotran@....com, Riwen Lu <luriwen@...inos.cn>
Subject: Re: [PATCH v3] cpufreq/cppc: Remove the desired_perf compare when set
target
在 2024/6/11 17:10, Viresh Kumar 写道:
> On 11-06-24, 09:54, Ionela Voinescu wrote:
>> It's alright with me.
>
> Great.
>
>> Some "nits":
>> - the "desired_perf" local variable could be removed in this case.
>
> Riwen, please fix this and resend.
I think it's no need to remove the "desired_perf" local variable here,
the code is seems more readable.
>
>> - [note] while this change helps, we'd still need policy->cur to always
>> have the latest request value (see details at [1]) for this check to
>> be made obsolete by the comparison between target_freq and policy->cur,
>> as mentioned in the commit message. But this is/can be a separate
>> matter.
>>
>> [1] https://lore.kernel.org/lkml/ZmB1qKucR5fXk100@arm.com/
>
> Yeah, lets discuss that in the other thread only.
>
Powered by blists - more mailing lists