Re: [PATCH v2] cpuidle: Deny idle entry when CPU already have IPI interrupt pending

From: Daniel Lezcano

Date: Fri Aug 21 2026 - 05:29:17 EST



Le 21/08/2026 à 07:03, Maulik Shah (mkshah) a écrit :

[ ... ]
What do we do about the cpuidle stats in that case?
I'm thinking primiarly about last_residency_ns and rejected here.

As the idle entry will not happen (call_cpuidle() is not invoked)
the stats would also not required to be updated.
I agree, with the IPI pending it is like the idle task should have not be scheduled, so the idle call is aborted.