[PATCH 1/3] sched/topology,schedutil: wrap sched domains rebuild
Quentin Perret
qperret at google.com
Thu Sep 24 09:34:46 EDT 2020
On Thursday 24 Sep 2020 at 13:39:35 (+0100), Ionela Voinescu wrote:
> @@ -433,6 +437,7 @@ static bool build_perf_domains(const struct cpumask *cpu_map)
> }
> #else
> static void free_pd(struct perf_domain *pd) { }
> +void rebuild_sched_domains_energy(void) { }
Nit: maybe make that stub static inline in a header instead? I guess LTO
and friends ought to clean that up for you, but it shouldn't hurt to give
the compiler a little bit of help here.
Otherwise, LGTM:
Acked-by: Quentin Perret <qperret at google.com>
> #endif /* CONFIG_ENERGY_MODEL && CONFIG_CPU_FREQ_GOV_SCHEDUTIL*/
>
> static void free_rootdomain(struct rcu_head *rcu)
> --
> 2.17.1
>
More information about the linux-arm-kernel
mailing list