Re: [PATCH] x86/alternatives: gracefully skip unrecognized indirect call instructions

From: Borislav Petkov

Date: Wed Aug 12 2026 - 11:31:48 EST


On Wed, Aug 12, 2026 at 04:24:37AM -0700, H. Peter Anvin wrote:
> >I don't think we want to cater for this. But what actual instruction
> >sequences is it emitting?
>
> I'm kind of surprised the kernel compiles with -O0 at all; it certainly didn't used to. -Og was created for a reason.

I'm with PeterZ on this. If you hack the tree to modify KCFLAGS, then you get
to keep the pieces too.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette