Re: [PATCH v2 6/9] RISC-V: entry: Remove unneeded need_resched() loop

From: Paul Walmsley
Date: Tue Oct 08 2019 - 20:51:28 EST


On Mon, 23 Sep 2019, Valentin Schneider wrote:

> Since the enabling and disabling of IRQs within preempt_schedule_irq()
> is contained in a need_resched() loop, we don't need the outer arch
> code loop.
>
> Reviewed-by: Palmer Dabbelt <palmer@xxxxxxxxxx>
> Signed-off-by: Valentin Schneider <valentin.schneider@xxxxxxx>
> Cc: Albert Ou <aou@xxxxxxxxxxxxxxxxx>
> Cc: linux-riscv@xxxxxxxxxxxxxxxxxxx

Thanks, queued for v5.4-rc.


- Paul