aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/timer.c
diff options
context:
space:
mode:
authorLeon Hwang <[email protected]>2025-09-10 12:57:39 +0000
committerAlexei Starovoitov <[email protected]>2025-09-10 19:34:09 +0000
commite25ddfb388c8b7e5f20e3bf38d627fb485003781 (patch)
tree537ac7643167b5f3e2c2db28f833ded5e72f519d /tools/testing/selftests/bpf/prog_tests/timer.c
parenttcp_bpf: Call sk_msg_free() when tcp_bpf_send_verdict() fails to allocate pso... (diff)
downloadkernel-e25ddfb388c8b7e5f20e3bf38d627fb485003781.tar.gz
kernel-e25ddfb388c8b7e5f20e3bf38d627fb485003781.zip
bpf: Reject bpf_timer for PREEMPT_RT
When enable CONFIG_PREEMPT_RT, the kernel will warn when run timer selftests by './test_progs -t timer': BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48 In order to avoid such warning, reject bpf_timer in verifier when PREEMPT_RT is enabled. Signed-off-by: Leon Hwang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/timer.c')
0 files changed, 0 insertions, 0 deletions