Re: [PATCH] sched_ext: add unlikely() hints in do_enqueue_task() hot path
From: Tejun Heo
Date: Thu Feb 26 2026 - 17:08:50 EST
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