]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: Relax CPU requirements for rqspinlock stress test
authorKumar Kartikeya Dwivedi <memxor@gmail.com>
Tue, 25 Nov 2025 02:07:47 +0000 (02:07 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 25 Nov 2025 23:30:13 +0000 (15:30 -0800)
commit224de8d5a30e25570660306aeeeb738ed758ef0a
tree1534bdc91f939e3f63b63e346d6d681d568d29c1
parent8f6ddc0587606c4be7ffcbdb20a4a99647e0c362
selftests/bpf: Relax CPU requirements for rqspinlock stress test

Only require 2 CPUs for AA, 3 for ABBA, 4 for ABBCCA, which is
calculated nicely by adding to the mode enum. Enables running single CPU
AA tests.

Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20251125020749.2421610-2-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_kmods/bpf_test_rqspinlock.c