[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.21.2003251308540.21800@pobox.suse.cz>
Date: Wed, 25 Mar 2020 13:10:33 +0100 (CET)
From: Miroslav Benes <mbenes@...e.cz>
To: Peter Zijlstra <peterz@...radead.org>
cc: tglx@...utronix.de, jpoimboe@...hat.com,
linux-kernel@...r.kernel.org, x86@...nel.org, mhiramat@...nel.org,
brgerst@...il.com
Subject: Re: [PATCH v3 14/26] objtool: Optimize read_sections()
On Tue, 24 Mar 2020, Peter Zijlstra wrote:
> Perf showed that __hash_init() is a significant portion of
> read_sections(), so instead of doing a per section rela_hash, use an
> elf-wide rela_hash.
>
> Statistics show us there are about 1.1 million relas, so size it
> accordingly.
>
> This reduces the objtool on vmlinux.o runtime to a third, from 15 to 5
> seconds.
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
> Acked-by: Josh Poimboeuf <jpoimboe@...hat.com>
Reviewed-by: Miroslav Benes <mbenes@...e.cz>
M
Powered by blists - more mailing lists