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

Björn Töpel bjorn at kernel.org
Mon Feb 19 05:04:45 PST 2024


Samuel Holland <samuel.holland at sifive.com> 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 at sifive.com>

Nice!

Nit: 100 chars lines, please.

Reviewed-by: Björn Töpel <bjorn at rivosinc.com>



More information about the linux-riscv mailing list