Re: [PATCH v5 2/8] arm64/runtime-const: Use aarch64_insn_patch_text_nosync() for patching

From: Charlie Jenkins

Date: Fri Jul 10 2026 - 03:53:56 EST


On Tue, 30 Jun 2026 04:55:25 +0000, K Prateek Nayak <kprateek.nayak@xxxxxxx> wrote:
> The current scheme to directly patch the kernel text for runtime
> constants runs into the following issue with futex adapted to using
> runtime constants on arm64:
>
> Unable to handle kernel write to read-only memory at virtual address ...
>
> The pc points to the *p assignment in the following call chain:
>
> [...]

Reviewed-by: Charlie Jenkins <thecharlesjenkins@xxxxxxxxx>
Tested-by: Charlie Jenkins <thecharlesjenkins@xxxxxxxxx>

--
- Charlie