Files
Alexey MilovidovandClaude Opus 4.6 1128a20015 Skip test_jemalloc_percpu_arena when CPU online override is ineffective
The test bind-mounts a fake /sys/devices/system/cpu/online to simulate
having fewer online CPUs than configured. However,
`sysconf(_SC_NPROCESSORS_ONLN)` does not always read from that file -
glibc can use `sched_getaffinity` instead, especially on newer kernels
or ARM. When the override doesn't take effect, the test fails with
`assert online_cpus == 1` getting the real CPU count.

Skip instead of failing, since the test's precondition cannot be
guaranteed on all systems.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-02-07 05:58:50 +01:00
..