[PATCH v8 5/8] entry: Add arch_irqentry_exit_need_resched() for arm64

Ada Couprie Diaz ada.coupriediaz at arm.com
Thu Aug 21 09:24:46 PDT 2025


Hello,

On 15/08/2025 04:06, Jinjie Ruan wrote:
> Compared to the generic entry code, ARM64 does additional checks
> when deciding to reschedule on return from interrupt. So introduce
> arch_irqentry_exit_need_resched() in the need_resched()
> condition of the generic raw_irqentry_exit_cond_resched(), with
> a NOP default. This will allow ARM64 to implement the architecture
> specific version for switching over to the generic entry code.
>
> Suggested-by: Ada Couprie Diaz <ada.coupriediaz at arm.com>
> Suggested-by: Mark Rutland <mark.rutland at arm.com>
> Suggested-by: Kevin Brodsky <kevin.brodsky at arm.com>
> Suggested-by: Thomas Gleixner <tglx at linutronix.de>
> Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>
> ---
Looks good to me, thanks for the changes ! Reviewed-by: Ada Couprie Diaz 
<ada.coupriediaz at arm.com>



More information about the linux-arm-kernel mailing list