On Tue, 11 Jun 2024 at 10:59, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> 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