Re: [PATCH 04/23] kallsyms: output binary data to speed output and kallsyms assembly
From: Lorenzo Stoakes (ARM)
Date: Mon Sep 14 2026 - 05:09:10 EST
On Mon, Sep 14, 2026 at 09:39:26AM +0100, Lorenzo Stoakes (ARM) wrote:
> ...BUT, can definitely put
> those remaining .long entries in the binary too so the assembly is
> absolutely minimal.
>
> LLM says there's 200k of those, so does seem worthwhile, I'll do that for
> v2!
OK, correction, it turns out this isn't possible :) LLM found commit
a081b5789255 ("kallsyms: Get rid of kallsyms relative base") which makes every
offset a relocation against _text, which means these have to be kept in the
assembly separately.
It takes .18s to parse those ~200k lines so it's not really a big deal :)
In any case it's not a huge time sink on build so it's no big deal to keep this
as it is.
>
> >
> > Linus
>
> --
> Cheers, Lorenzo
--
Cheers, Lorenzo