Re: [RFT][PATCH v1 1/8] cpufreq/sched: schedutil: Add helper for governor checks

From: Christian Loehle
Date: Thu Apr 17 2025 - 08:23:58 EST


On 4/16/25 18:48, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> Add a helper for checking if schedutil is the current governor for
> a given cpufreq policy and use it in sched_is_eas_possible() to avoid
> accessing cpufreq policy internals directly from there.
>
> No intentional functional impact.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

Reviewed-by: Christian Loehle <christian.loehle@xxxxxxx>