Re: [PATCH 05/12] sched: Move sched_class::prio_changed() into the change pattern

From: K Prateek Nayak

Date: Mon Jan 12 2026 - 23:12:35 EST


Hello Pierre,

On 1/13/2026 2:14 AM, Pierre Gondois wrote:
> Hello Peter,
>
> It seems this patch:
> 6455ad5346c9 ("sched: Move sched_class::prio_changed() into the change pattern")
> is triggering the following warning:
> rq_pin_lock()
> \-WARN_ON_ONCE(rq->balance_callback && rq->balance_callback != &balance_push_callback);

Can you check if the following solution helps your case too:
https://lore.kernel.org/all/20260106104113.GX3707891@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/

--
Thanks and Regards,
Prateek