Re: [PATCH v3 12/26] objtool: Resize insn_hash
From: Miroslav Benes
Date: Wed Mar 25 2020 - 06:21:56 EST
On Tue, 24 Mar 2020, Peter Zijlstra wrote:
> Perf shows we're spending a lot of time in find_insn() and the
> statistics show we have around 3.2 million instruction. Increase the
> hash table size to reduce the bucket load from around 50 to 3.
>
> This shaves about 2s off of objtool on vmlinux.o runtime, down to 16s.
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
> Acked-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Reviewed-by: Miroslav Benes <mbenes@xxxxxxx>
M