[PATCH 4/7] arm64: add 'runtime constant' support
Linus Torvalds
torvalds at linux-foundation.org
Tue Jun 11 11:59:21 PDT 2024
On Tue, 11 Jun 2024 at 10:59, Linus Torvalds
<torvalds at linux-foundation.org> wrote:
>
> So I'll look at doing this for x86 and see how it works.
Oh - and when I started looking at it, I immediately remembered why I
didn't want to use alternatives originally.
The alternatives are finalized much too early for this. By the time
the dcache code works, the alternatives have already been applied.
I guess all the arm64 alternative callbacks are basically finalized
very early, basically when the CPU models etc have been setup.
We could do a "late alternatives", I guess, but now it's even more
infrastructure just for the constants.
Linus
More information about the linux-arm-kernel
mailing list