Re: [PATCH 5/7] riscv: Pass patch_text() the length in bytes

From: Björn Töpel
Date: Mon Feb 19 2024 - 08:06:22 EST


Samuel Holland <samuel.holland@xxxxxxxxxx> writes:

> patch_text_nosync() already handles an arbitrary length of code, so this
> removes a superfluous loop and reduces the number of icache flushes.
>
> Signed-off-by: Samuel Holland <samuel.holland@xxxxxxxxxx>

Nice!

Nit: 100 chars lines, please.

Reviewed-by: Björn Töpel <bjorn@xxxxxxxxxxxx>