[PATCH v4 1/2] smp: Introduce a helper function to check for pending IPIs

Thomas Gleixner tglx at linutronix.de
Thu Nov 13 07:29:31 PST 2025


On Wed, Nov 05 2025 at 10:54, Ulf Hansson wrote:
> When governors used during cpuidle try to find the most optimal idle state
> for a CPU or a group of CPUs, they are known to quite often fail. One
> reason for this is, that they are not taking into account whether there has
> been an IPI scheduled for any of the CPUs that are affected by the selected
> idle state.
>
> To enable pending IPIs to be taken into account for cpuidle decisions,
> introduce a new helper function, cpus_peek_for_pending_ipi().
>
> Suggested-by: Thomas Gleixner <tglx at linutronix.de>
> Signed-off-by: Ulf Hansson <ulf.hansson at linaro.org>

Reviewed-by: Thomas Gleixner <tglx at linutronix.de>



More information about the linux-arm-kernel mailing list