Re: [PATCH 5/8] x86/altcall: Introduce new simpler scheme

2025-04-23 Thread Jan Beulich
On 23.04.2025 03:02, Andrew Cooper wrote: > Encoding altcalls as regular alternatives leads to an unreasonable amount of > complexity in _apply_alternatives(). > > Introduce apply_alt_calls(), and an .alt_call_sites section which simply > tracks the source address (relative, to save on space). Th

[PATCH 5/8] x86/altcall: Introduce new simpler scheme

2025-04-22 Thread Andrew Cooper
Encoding altcalls as regular alternatives leads to an unreasonable amount of complexity in _apply_alternatives(). Introduce apply_alt_calls(), and an .alt_call_sites section which simply tracks the source address (relative, to save on space). That's literally all that is needed in order to devirt