Re: [PATCH] x86/alternatives: gracefully skip unrecognized indirect call instructions
From: Peter Zijlstra
Date: Thu Aug 13 2026 - 06:14:24 EST
On Thu, Aug 13, 2026 at 01:14:41AM +0800, 李则良 wrote:
> >
> > I don't think we want to cater for this. But what actual instruction
> > sequences is it emitting?
>
> This is the scene that triggers the bug, which can be perfectly
> reproduced when KCFLAGS=-O1.
>
That's not what I asked, now was it. I asked what opcodes it does
generate. Disassemble an affected function and show the difference
between the normal -O2 and your -O1 build that causes the failure.