Re: [RFC][PATCH 04/17] objtool/x86: Fix SRSO mess

From: Borislav Petkov
Date: Thu Aug 10 2023 - 08:06:29 EST


On Wed, Aug 09, 2023 at 09:12:22AM +0200, Peter Zijlstra wrote:
> arch_is_rethunk() indicates those functions that will be considered
> equivalent to INSN_RETURN and any callsite will be added to the
> .return_sites section.
>
> Notably: srso_untrain_ret, srso_safe_ret and __ret do not qualify.

They do not qualify *anymore*. Before your changes, the last two would
call RET.

--
Regards/Gruss,
Boris.

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