Re: [RFC PATCH v3 2/6] sched/cpufreq: Attach perf domain to sugov policy

2019-10-17 Thread Douglas Raillard
Hi Dietmar, On 10/17/19 9:57 AM, Dietmar Eggemann wrote: On 11/10/2019 15:44, Douglas RAILLARD wrote: [...] @@ -66,6 +70,38 @@ static DEFINE_PER_CPU(struct sugov_cpu, sugov_cpu); / Governor internals ***/ +#ifdef CONFIG_ENERGY_MODEL +static

Re: [RFC PATCH v3 2/6] sched/cpufreq: Attach perf domain to sugov policy

2019-10-17 Thread Dietmar Eggemann
On 11/10/2019 15:44, Douglas RAILLARD wrote: [...] > @@ -66,6 +70,38 @@ static DEFINE_PER_CPU(struct sugov_cpu, sugov_cpu); > > / Governor internals ***/ > > +#ifdef CONFIG_ENERGY_MODEL > +static void sugov_policy_attach_pd(struct sugov_policy *sg_