Re: [PATCH v7 06/14] sched/topology: Reference the Energy Model of CPUs when available

From: Quentin Perret
Date: Tue Oct 02 2018 - 09:17:08 EST


On Tuesday 02 Oct 2018 at 14:36:17 (+0200), Peter Zijlstra wrote:
> On Wed, Sep 12, 2018 at 10:13:01AM +0100, Quentin Perret wrote:
> > +struct perf_domain {
> > + struct em_perf_domain *obj;
> > + struct perf_domain *next;
> > + struct rcu_head rcu;
> > +};
>
> Maybe s/obj/em_pd/ or something like that? @obj is so very opaque.

I wanted to avoid calling it just 'pd' since that could be confusing. So
anything different than that is fine by me. I don't have a better
suggestion than 'em_pd', so I'd say let's stick with that for now.

Thanks,
Quentin