Re: [PATCH 48/48] objtool/klp: Cache dont_correlate() result

From: Song Liu

Date: Fri Apr 24 2026 - 21:20:16 EST


On Wed, Apr 22, 2026 at 9:04 PM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> Cache the dont_correlate() result once per symbol at the start of
> correlate_symbols(). This reduces klp diff time on an arm64 LTO
> vmlinux.o from 2m51s to 35s.
>
> Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

Acked-by: Song Liu <song@xxxxxxxxxx>