Re: [PATCH 8/9] irqentry: define irqentry_exit_allow_resched()

From: Thomas Gleixner
Date: Tue Apr 04 2023 - 05:38:46 EST


On Sun, Apr 02 2023 at 22:22, Ankur Arora wrote:
> Allow threads marked TIF_ALLOW_RESCHED to be rescheduled in irqexit.
>
> This is only necessary under !preempt_model_preemptible() for which
> we reuse the same logic as irqentry_exit_code_resched().

This tells what this patch is doing but completely fails to explain why
this is necessary and useful.

Thanks,

tglx