BPF timers in hard irq context?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: BPF timers in hard irq context?
- From: Barret Rhoden <brho@xxxxxxxxxx>
- Date: Tue, 21 May 2024 17:59:07 -0400
- Cc: Dohyun Kim <dohyunkim@xxxxxxxxxx>, Neel Natu <neelnatu@xxxxxxxxxx>
- User-agent: Mozilla Thunderbird
hi -
we've noticed some variability in bpf timer expiration that goes away if
we change the timers to run in hardirq context.
i imagine the use of softirqs was to keep the potentially long-running
timer callback out of hardirq, but is there anything particularly
dangerous about making them run in hardirq?
would you all be open to a patch that makes that a flag or something?
e.g. BPF_F_TIMER_HARDIRQ.
thanks,
barret
[Index of Archives]
[Linux Samsung SoC]
[Linux Rockchip SoC]
[Linux Actions SoC]
[Linux for Synopsys ARC Processors]
[Linux NFS]
[Linux NILFS]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Yosemite News]
[Linux Kernel]
[Linux SCSI]