[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.21.2003251319040.21800@pobox.suse.cz>
Date: Wed, 25 Mar 2020 13:19:16 +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 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@...radead.org>
> Acked-by: Josh Poimboeuf <jpoimboe@...hat.com>
Reviewed-by: Miroslav Benes <mbenes@...e.cz>
M
Powered by blists - more mailing lists