Re: [RFC][PATCH 08/16] Optimize find_section_by_name()

Josh Poimboeuf
2020-03-15T16:25:39Z

On Thu, Mar 12, 2020 at 02:41:15PM +0100, Peter Zijlstra wrote:
> In order to avoid yet another linear search of (20k) sections, add a
> name based hash.
>
> This reduces objtool runtime on vmlinux.o by some 10s to around 35s.
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>

$SUBJECT needs "objtool: " prefix.

--
Josh