Re: [PATCH] tools/sched_ext: Improve BPF verifier arena detection workaround

From: zhidao su

Date: Tue Feb 03 2026 - 01:44:31 EST


Thanks for catching this.To be honest, this change was primarily a result of my attempt to comb through and reorganize the code logic. I mistakenly thought it was applicable here and did not perform a complete runtime test for this specific modification.I apologize for the breakage. I will revert/fix this logic in the next revision to ensure the scheduler loads correctly.

> 2026年2月3日 11:54,Emil Tsalapatis <emil@xxxxxxxxxxxxxxx> 写道:
>
> This code change is a bit of a non-sequitur (BPF_FEATURE_ADDR_SPACE_CAST
> is unrelated to the problem scx_arena_subprog_init solves) and causes
> the scheduler to fail to load for me. Could you please explain the logic behind
> this patch? Does it work on your machine and if so could you let me know what
> toolchain and kernel you're using?