Re: [PATCH] arm64: make runtime const not usable by modules

From: Will Deacon

Date: Wed Mar 04 2026 - 12:02:54 EST


On Sat, 21 Feb 2026 10:38:47 +0800, Jisheng Zhang wrote:
> Similar as commit 284922f4c563 ("x86: uaccess: don't use runtime-const
> rewriting in modules") does, make arm64's runtime const not usable by
> modules too, to "make sure this doesn't get forgotten the next time
> somebody wants to do runtime constant optimizations". The reason is
> well explained in the above commit: "The runtime-const infrastructure
> was never designed to handle the modular case, because the constant
> fixup is only done at boot time for core kernel code."
>
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: make runtime const not usable by modules
https://git.kernel.org/arm64/c/0100e495cdf0

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev