| Date | Wed, 25 Mar 2020 13:19:16 +0100 (CET) | From | Miroslav Benes <> | Subject | Re: [PATCH v3 16/26] objtool: Optimize find_rela_by_dest_range() |
| |
On Tue, 24 Mar 2020, Peter Zijlstra wrote:
> Perf shows there is significant time in find_rela_by_dest(); this is > because we have to iterate the address space per byte, looking for > relocation entries. > > Optimize this by reducing the address space granularity. > > This reduces objtool on vmlinux.o runtime from 4.8 to 4.4 seconds. > > Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> > Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
M
|