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: Tue, 21 Apr 2020 21:47:49 +0200 From: Peter Zijlstra <peterz@...radead.org> To: Sami Tolvanen <samitolvanen@...gle.com> Cc: Josh Poimboeuf <jpoimboe@...hat.com>, Kees Cook <keescook@...omium.org>, linux-kernel@...r.kernel.org Subject: Re: [PATCH 2/3] objtool: optimize insn_hash for split sections On Tue, Apr 21, 2020 at 11:07:23AM -0700, Sami Tolvanen wrote: > When running objtool on vmlinux.o compiled with -ffunction-sections, > we end up with a ton of collisions in the insn_hash table as each > function is in its own section. This results in a runtime of minutes > instead of seconds. Use both section index and offset as the key to > avoid this, similarly to rela_hash. > > Signed-off-by: Sami Tolvanen <samitolvanen@...gle.com> I already have this queued: https://lkml.kernel.org/r/20200416115119.227240432@infradead.org which looks very similar.
Powered by blists - more mailing lists