Re: [PATCH 03/14] x86/alternative: Simplify callthunk patching

From: Josh Poimboeuf
Date: Fri Sep 27 2024 - 19:27:53 EST


On Fri, Sep 27, 2024 at 09:48:59PM +0200, Peter Zijlstra wrote:
> - * Now all calls are established. Apply the call thunks if
> - * required.
> + * Adjust call CALL instructions to point to func()-10, including those
> + * in .altinstr_replacement.

A couple of tweaks:

"Adjust all CALL instructions to point to func()-0x10..."

--
Josh