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

From: Song Liu

Date: Fri Apr 24 2026 - 16:57:25 EST


On Wed, Apr 22, 2026 at 9:04 PM 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.
>
> Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

Acked-by: Song Liu <song@xxxxxxxxxx>