linux_dsm_epyc7002/tools/objtool
Josh Poimboeuf 0c671812f1 objtool: Move objtool_file struct off the stack
Objtool uses over 512k of stack, thanks to the hash table embedded in
the objtool_file struct.  This causes an unnecessarily large stack
allocation and breaks users with low stack limits.

Move the struct off the stack.

Fixes: 042ba73fe7 ("objtool: Add several performance improvements")
Reported-by: Vassili Karpov <moosotc@gmail.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/df92dcbc4b84b02ffa252f46876df125fb56e2d7.1552954176.git.jpoimboe@redhat.com
2019-03-21 12:02:19 +01:00
..
arch/x86
Documentation
.gitignore
arch.h
Build
builtin-check.c
builtin-orc.c
builtin.h
cfi.h
check.c objtool: Move objtool_file struct off the stack 2019-03-21 12:02:19 +01:00
check.h
elf.c objtool: Fix segfault in .cold detection with -ffunction-sections 2018-11-20 18:59:00 +01:00
elf.h
Makefile
objtool.c
orc_dump.c
orc_gen.c
orc.h
special.c x86/jump_table: Use relative references 2018-09-27 17:56:48 +02:00
special.h
sync-check.sh
warn.h