lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 15 Mar 2020 11:53:32 -0500 From: Josh Poimboeuf <jpoimboe@...hat.com> To: Peter Zijlstra <peterz@...radead.org> Cc: tglx@...utronix.de, linux-kernel@...r.kernel.org, x86@...nel.org Subject: Re: [RFC][PATCH 12/16] objtool: Optimize read_sections() On Thu, Mar 12, 2020 at 02:41:19PM +0100, Peter Zijlstra wrote: > +++ b/tools/objtool/elf.h > @@ -25,6 +25,8 @@ > #define ELF_C_READ_MMAP ELF_C_READ > #endif > > +struct elf; > + > struct section { > struct list_head list; > struct hlist_node hash; > @@ -33,7 +35,7 @@ struct section { > struct rb_root symbol_tree; > struct list_head symbol_list; > struct list_head rela_list; > - DECLARE_HASHTABLE(rela_hash, 16); > + struct elf *elf; Instead of adding 'elf' here I'd rather just add it as an argument to the find_rela_by_dest*() functions. -- Josh
Powered by blists - more mailing lists