Re: [PATCH 08/48] objtool/klp: Don't correlate __initstub__ symbols

Miroslav Benes
2026-04-24T12:17:32Z

On Wed, 22 Apr 2026 21:03:36 -0700, Josh Poimboeuf <jpoimboe@kernel.org> wrote:
> With LTO, the initcall infrastructure generates __initstub__kmod_*
> wrapper functions in .init.text. These are the LTO equivalent of
> __initcall__kmod_* data pointers, which are already excluded from
> correlation.
>
> These are __init functions whose memory is freed after boot, so there's
> no reason to include or reference them in a livepatch module.
>
> [...]

Reviewed-by: Miroslav Benes <mbenes@suse.cz>

--
Miroslav