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

From: Josh Poimboeuf
Date: Sun Mar 15 2020 - 12:25:38 EST


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@xxxxxxxxxxxxx>

$SUBJECT needs "objtool: " prefix.

--
Josh