Re: [PATCH] clockevents: Prevent timer interrupt starvation

Peter Zijlstra
2026-04-03T22:21:51Z

On Sat, Apr 04, 2026 at 12:14:03AM +0200, Thomas Gleixner wrote:
> On Fri, Apr 03 2026 at 23:24, Thomas Gleixner wrote:
>
> > On Fri, Apr 03 2026 at 23:01, Peter Zijlstra wrote:
> >> On Fri, Apr 03, 2026 at 06:17:15PM +0200, Thomas Gleixner wrote:
> >>
> >> Doesn't that want to be something like this instead?
> >
> > Duh. Yes. I'm clearly not seeing the forest for the trees anymore.
>
> But thinking more about it. That's a stretch for backporting.

Yeah, that cocci patch results in quite a large actual patch :-)

> So I rather stay with the current approach and do the cleanup on top,
> which then also should obviously do
>
> dev->next_event = KTIME_MAX;
>
> and remove it from the handlers, no?

Works for me.