]> Gentwo Git Trees - linux/.git/commit
selftests/bpf: Make CS length configurable for rqspinlock stress test
authorKumar Kartikeya Dwivedi <memxor@gmail.com>
Tue, 25 Nov 2025 02:07:49 +0000 (02:07 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 25 Nov 2025 23:30:14 +0000 (15:30 -0800)
commit88337b587b8b1f4b418638546a85d3295500dcc2
treeffcf1717b03fe52ec4ca7b7d2a0396aaa902df19
parent6173c1d6208c146af134e4a1d46f103507d60534
selftests/bpf: Make CS length configurable for rqspinlock stress test

Allow users to configure the critical section delay for both task/normal
and NMI contexts, and set to 20ms and 10ms as before by default.

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