Files
erofs-linux/kernel/bpf
Leon Hwang e25ddfb388 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]>
2025-09-10 12:34:09 -07:00
..
…
…
…
…
…
…
…
…
…
…
…
…
2025-07-11 11:00:57 -07:00
2025-06-25 15:12:17 -07:00
2025-07-16 18:38:05 -07:00