Re: [PATCH] sched/fair: Remove dead throttled check in pick_task_fair()
From: K Prateek Nayak
Date: Wed Aug 05 2026 - 05:12:47 EST
On 8/5/2026 7:09 AM, fangqiurong wrote:
> commit f666241e6bd5 ("sched/fair: Unify cfs_rq throttling via
> account_cfs_rq_runtime()") removed the only assignment to @throttled in
> the pick_task_fair() walk loop, making the variable and the trailing
> task_throttle_setup_work() call dead code. Drop them.
Thank you for catching my oversight. Looking at tip:sched/core,
Peter has already cleaned this up as a part of commit 85570f10a4c6
("sched/eevdf: Move to a single runqueue")
--
Thanks and Regards,
Prateek