Re: [PATCH] tools/sched_ext: Extend the prolog migration probe to cid-form schedulers
From: Tejun Heo
Date: Mon Aug 31 2026 - 20:58:55 EST
Hello,
On Sat, Aug 29, 2026 at 01:20:35PM +0100, David Carlier wrote:
> scx_lib_init_probe hooks bpf_scx_reg(), which is where a cpu-form
> scheduler enters the kernel when its struct_ops link is created. A
> cid-form scheduler comes in elsewhere: bpf_sched_ext_ops_cid points .reg
> at bpf_scx_reg_cid(), a separate function, so the probe never fires and
> the flag it is meant to set keeps whatever it was compiled with.
Let's keep the updates flowing through the scx repo - the kernel copies
are synced from it periodically. Can you apply the changes there? Note
that the default flip already landed there as 888a907d84b5 ("common.bpf.h:
default __scx_prolog_disables_migration to false").
Thanks.
--
tejun