Re: [PATCH v3] sched/fair: remove dead code on enqueue_task_fair()

From: Kayra Cizmeci

Date: Mon Oct 12 2026 - 10:01:23 EST


> On 9/11/26 17:02, Kayra Cizmeci wrote:
> > cfs_rq->curr == se path on enqueue_task_fair() seems to be unachievable.

> Sashiko disagrees so I had a look and indeed cfs_rq unthrottling reaches this:
> https://sashiko.dev/#/patchset/179033365207.2819794.11851486661940182495.tip-bot2%40tip-bot2
> See the splat below.

> I'm afraid we need to revert
> 819224e506bc ("sched/fair: Remove dead code on enqueue_task_fair()")
> on tip/sched/core.

Ah... Fuck. Yeah we need to. Thanks for catching this early.

> I guess it's non-obvious enough to deserve a comment...

Probably...

Thanks,
Kayra