On 17.02.2023 18:48, Andrew Cooper wrote:
> @@ -90,7 +91,10 @@ ENTRY(kexec_reloc)
> push%rax
> lretq
>
> -relocate_pages:
> +.type kexec_reloc, @function
> +.size kexec_reloc, . - kexec_reloc
> +
> +ENTRY(relocate_pages)
> /* %rdi - indirection page
All of kexec_reloc(), relocate_pages() and compatibility_mode() are
function-like. Annotate them appropriately.
Furthermore, move the data into a different cacheline from the code, so the
relocation of compat_mode_gdt_desc doesn't trigger self-modifying safety logic
in the pipeline.
No functiona