Re: [PATCH] x86/alternatives: Disable KASAN on text_poke_early() in apply_alternatives()

Borislav Petkov
2023-10-10T09:13:09Z

On Tue, Oct 10, 2023 at 11:40:41AM +0300, Kirill A. Shutemov wrote:
> __VIRTUAL_MASK_SHIFT used in many places. I don't think it is good idea to
> give up on patching completely.

Have you even looked at boot_cpu_has()'s asm?

--
Regards/Gruss,
Boris.