Re: [PATCH 7/7] cpu: make preferred CPU policy writers mutually exclusive

From: Yury Norov

Date: Thu Nov 19 2026 - 12:47:57 EST


Hi Shrikanth,

Thanks for review!

On Thu, Nov 19, 2026 at 11:40:40AM +0530, Shrikanth Hegde wrote:
> Hi Yury.
>
> On 11/14/26 12:12 AM, Yury Norov wrote:
> > Serializing preferred mask updates still lets competing policy drivers
> > repeatedly override each other's selections.
> >
> > Disallow multiple policy drivers running at the same time with the
> > exclusive ownership rule.
> >
>
> This patch should go with the write interface patch series IMHO.
> There are no new writers/governors with this series.

Maybe yes. On the other hand, the core infrastructure must provide
all the required functionality, including the claim interface, so
the drivers won't need to invent their own synchronization tricks.

Don't have strong opinion, though.

Thanks,
Yury

> > Suggested-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
> > Signed-off-by: Yury Norov <ynorov@xxxxxxxxxx>