Re: [PATCH] sched_ext: add unlikely() hints in do_enqueue_task() hot path

From: David CARLIER

Date: Fri Feb 27 2026 - 12:42:48 EST


Hi.
ah good point :) let s drop it then :)

On Thu, 26 Feb 2026 at 22:08, Tejun Heo <tj@xxxxxxxxxx> wrote:
>
> Hello,
>
> It looks like the patch accidentally includes a CLAUDE.md file creation.
> Could you drop that and resend?
>
> Also, for the PF_EXITING and migration_disabled checks, the original code
> intentionally places unlikely() only on the runtime condition (e.g.
> p->flags & PF_EXITING). Moving it to wrap the entire condition loses that
> precision. It'd be better to keep those as they are and only add
> unlikely() to the scx_rq_online() and scx_rq_bypassing() checks.
>
> Thanks.
>
> --
> tejun