Re: [RANT][PATCH] sched_ext: Fix stale fair load weight after renice under SCX
From: Steven Rostedt
Date: Fri Dec 04 2026 - 10:59:30 EST
On Fri, 4 Dec 2026 16:40:23 +0100
Andrea Righi <arighi@xxxxxxxxxx> wrote:
> We already discussed this with Zicheng and Peter [1]. The approach we
> settled on was to rebuild the load weight in switching_to_fair(), so
> fair prepares its own state before enqueue, rather than having sched_ext
> maintain fair's inactive state.
Thanks for the update. I'll go back and tell my junior AI agent that its
patch is not going to be accepted, and let it cry over its wasted tokens ;-)
-- Steve