> bpf-next doesn't have test_bpf since October. See > commit 4532e525b286 ("selftests/bpf: Remove the old test_bpf module").
I worded that badly, sorry. The sequence was: The patch was written against a 6.12 product kernel and verified there with the test_bpf module, which that tree still has. When I ported it to bpf-next the module was gone, and I could not get the selftests to cross-build for arm32 at the time, so I restored test_bpf locally and kept measuring with it. That is the "test_bpf across several configurations" I referred to -- my own tree, not bpf-next. I should have said so. I have the selftests cross-building for arm32 now, so from here on I can test against what bpf-next actually has.
> No arm defconfig sets BPF_JIT, and nothing selects it on arm. > i.MX6 takes this path only with ARCH_MULTI_V6=y and BPF_JIT=y.
Correct, and my i.MX6 example was too broad. No arm defconfig builds the JIT at all, so the path only matters once BPF_JIT is turned on, which is a product or distro decision rather than a defconfig one. Mine is such a kernel: ARMv5 core, BPF_JIT_ALWAYS_ON, and an XDP program that would not load before this patch because the literal pool could not reach past 4K.