BPF List
 help / color / mirror / Atom feed
* BPF timers in hard irq context?
@ 2024-05-21 21:59 Barret Rhoden
  2024-05-22 20:03 ` Alexei Starovoitov
  0 siblings, 1 reply; 4+ messages in thread
From: Barret Rhoden @ 2024-05-21 21:59 UTC (permalink / raw)
  To: bpf; +Cc: Dohyun Kim, Neel Natu

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-24 20:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-21 21:59 BPF timers in hard irq context? Barret Rhoden
2024-05-22 20:03 ` Alexei Starovoitov
2024-05-23 16:42   ` Barret Rhoden
2024-05-24 20:48     ` Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox