Re: [PATCH 08/48] objtool/klp: Don't correlate __initstub__ symbols
From: Miroslav Benes
Date: Fri Apr 24 2026 - 08:17:39 EST
On Wed, 22 Apr 2026 21:03:36 -0700, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> 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@xxxxxxx>
--
Miroslav