Re: [PATCH v3 1/2] sched/uclamp: Fix race condition leading to imbalanced uclamp_rq

From: John Stultz

Date: Wed Oct 28 2026 - 13:30:54 EST


On Tue, Oct 27, 2026 at 7:05 PM Qais Yousef <qyousef@xxxxxxxxxxx> wrote:
>
> Static keys are not guaranteed to be enabled atomically across CPUs.

Nit: Not only across CPUs, but also across jump_label callsites! I
believe the enqueue/dequeue race Wei reported happened on the same
cpu.

thanks
-john