Re: [PATCH] genpd: Fix up terminology with leader/follower

From: Rafael J. Wysocki
Date: Wed Jul 08 2020 - 07:04:54 EST


On Wed, Jul 8, 2020 at 11:04 AM Ulf Hansson <ulf.hansson@xxxxxxxxxx> wrote:
>
> On Wed, 8 Jul 2020 at 10:35, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> >
> > The genpd infrastructure uses the terms master/slave, but such uses have
> > no external exposures (not even in Documentation/driver-api/pm/*) and are
> > not mandated by nor associated with any external specifications. Change
> > the language used through-out to leader/follower.
>
> In my opinion this doesn't really make it more clear, but rather the opposite.
>
> If we should improve, I suggest using "parent" and "child" instead. As
> matter of fact, that's already the de-facto terminology that people
> are using when talking about master/subdomains of genpd.

IMO "parent" and "child" would be better indeed, because genpd only
supports strict hierarchies.

Thanks!