[RFC PATCH v2 3/7] arm64/runtime-const: Use aarch64_insn_patch_text_nosync() for patching

K Prateek Nayak kprateek.nayak at amd.com
Mon Mar 16 10:13:59 PDT 2026


Hello David,

On 3/16/2026 5:22 PM, David Laight 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:
> 
> Doesn't this need to come before the previous patch?

My rationale was that this didn't make a difference until
the final futex changes so I didn't pay much attention to
how they were ordered.

I will rearrange these the other way around in the next
version to keep this independent of introduction of
runtime_const_mask_32().

Thank you again for taking a look at the series.

-- 
Thanks and Regards,
Prateek




More information about the linux-riscv mailing list