lkml.org 
[lkml]   [2020]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 09/16] objtool: Optimize find_symbol_*() and read_symbols()
On Thu, Mar 12, 2020 at 02:41:16PM +0100, Peter Zijlstra wrote:
> All of:
>
> read_symbols(), find_symbol_by_offset(), find_symbol_containing(),
> find_containing_func()
>
> do a linear search of the symbols. Add an RB tree to make it go
> faster.
>
> This about halves objtool runtime on vmlinux.o, from 34s to 18s.
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>

This one also doesn't apply on latest tip.

I assume we also need to optimize the new find_func_by_offset().

--
Josh

\
 
 \ /
  Last update: 2020-03-15 16:48    [W:0.194 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site