Re: [PATCH v1] PM: EM: Move sched domains rebuild function from schedutil to EM

From: Christian Loehle
Date: Thu Dec 12 2024 - 07:09:49 EST


On 12/12/24 12:01, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> Function sugov_eas_rebuild_sd() defined in the schedutil cpufreq governor
> implements generic functionality that may be useful in other places. In
> particular, there is a plan to use it in the intel_pstate driver in the
> future.
>
> For this reason, move it from schedutil to the energy model code and
> rename it to em_rebuild_sched_domains().
>
> This also helps to get rid of some #ifdeffery in schedutil which is a
> plus.
>
> No intentional functional impact.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

As already mentioned during the RFC, fine with me FWIW.
Reviewed-by: Christian Loehle <christian.loehle@xxxxxxx>