Re: [PATCH] cpufreq: conservative: Drop cached requested_freq

From: Viresh Kumar

Date: Thu Mar 12 2026 - 10:49:43 EST


On 12-03-26, 15:03, Rafael J. Wysocki wrote:
> So cs_dbs_update() does this:
>
> if (requested_freq > policy->max || requested_freq < policy->min) {
> requested_freq = policy->cur;
> dbs_info->requested_freq = requested_freq;
> }
>
> Why is it not sufficient?

Because requested_freq is within those limits, it was policy->cur
which wasn't within these limits, but that too came within that by the
time cs_dbs_update() gets called after the readjustment.

--
viresh