Re: [PATCH] sched/uclamp: Fix rq->uclamp_max not set on first enqueue

From: Qais Yousef
Date: Thu Dec 02 2021 - 05:36:52 EST


On 12/01/21 10:20, Dietmar Eggemann wrote:
> On 30.11.21 16:41, Qais Yousef wrote:
> > On 11/30/21 12:29, Valentin Schneider wrote:
> >> On 30/11/21 11:23, Qais Yousef wrote:
> >>> Hi Valentin
> >>>
> >>> On 11/26/21 10:51, Valentin Schneider wrote:
> >>>> On 25/11/21 16:52, Qais Yousef wrote:
> >>>>> Commit d81ae8aac85c ("sched/uclamp: Fix initialization of struct
> >>>>> uclamp_rq") introduced a bug where uclamp_max of the rq is not reset to
> >>>>> match the woken up task's uclamp_max when the rq is idle. This only
> >>>>> impacts the first wake up after enabling the static key. And it only
>
> LGTM.
>
> Tested-by: Dietmar Eggemann <dietmar.eggemann@xxxxxxx>

Thanks!

--
Qais Yousef