Re: [PATCH bpf v2 2/2] selftests/bpf: Test per-cpu initialization of a BPF_F_CPU created element

From: Donggeun Yoo

Date: Thu Sep 24 2026 - 06:51:10 EST


On Wed, 23 Sep 2026 00:56:18 +0000 (UTC), bot+bpf-ci@xxxxxxxxxx wrote:
> Can this test give false negatives on the BPF_F_NO_PREALLOC variant?
[...]
> Should this arm either pin the thread with sched_setaffinity() around the
> delete/create pair, or loop over all CPUs to make the result deterministic?

Confirmed, it gives false negatives. Fixed in v3 by pinning the thread
to one cpu.

Thanks,
Donggeun