Re: [PATCH 00/10] timers/cpuidle: Fixes and cleanups

From: Peter Zijlstra
Date: Tue Aug 15 2023 - 12:11:50 EST


On Fri, Aug 11, 2023 at 07:00:39PM +0200, Frederic Weisbecker wrote:
> Hi,
>
> The first part of the series is cpuidle callback fixes against timers,
> some of which haven't been Signed by Peter yet.
>
> Another part is removing the overhead of useless TIF_NR_POLLING clearing.

So I've again forgotten why we don't simply set TIF_NEED_RESCHED if we
need the timer re-programmed. That is by far the simplest fix.

I'm sure we talked about it, but this was a long time ago and I can't
remember :/

Anyway, the patches look good, except I think there's a whole bunch of
architectures that still need fixing. In particular since loongson
'borrowed' the whole lot from MIPS, they need an identical fix. But I'm
sure there's more architectures affected.