linux-brain/tools
Josh Poimboeuf c818b2face objtool: Move objtool_file struct off the stack
commit 0c671812f1 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-27 14:13:03 +09:00
..
accounting tools: move accounting tool from Documentation 2016-09-23 13:07:15 -06:00
arch x86/fpu: Finish excising 'eagerfpu' 2018-10-13 09:18:59 +02:00
build tools: build: Use HOSTLDFLAGS with fixdep 2018-08-24 13:12:39 +02:00
cgroup
firewire
gpio tools/gpio: Fix build error with musl libc 2018-02-03 17:05:34 +01:00
hv Tools: hv: Fix a bug in the key delete code 2018-09-26 08:36:35 +02:00
iio Second set of iio new device support, features and cleanups for the 4.9 cycle. 2016-09-14 20:42:03 +02:00
include perf/tools: header file sync up 2018-06-05 10:28:58 +02:00
kvm/kvm_stat tools: kvm_stat: Add comments 2016-05-25 16:12:06 +02:00
laptop tools: move laptops dslm tool from Documentation 2016-09-23 13:07:21 -06:00
lguest tools/lguest: Don't bork the terminal in case of wrong args 2016-09-08 08:05:24 +02:00
lib tools lib subcmd: Don't add the kernel sources to the include path 2019-01-26 09:38:35 +01:00
net tools: bpf_jit_disasm: check for klogctl failure 2016-05-08 23:32:59 -04:00
nfsd
objtool objtool: Move objtool_file struct off the stack 2019-03-27 14:13:03 +09:00
pcmcia tools: move pcmcia crc32hash tool from Documentation 2016-09-23 13:07:27 -06:00
perf perf intel-pt: Fix divide by zero when TSC is not available 2019-03-23 13:19:53 +01:00
power tools/power/cpupower: fix compilation with STATIC=true 2018-12-01 09:44:18 +01:00
scripts Kbuild: fix # escaping in .cmd files for future Make 2018-07-11 16:26:45 +02:00
spi Merge remote-tracking branches 'spi/topic/ti-qspi', 'spi/topic/tools', 'spi/topic/txx9' and 'spi/topic/xlp' into spi-next 2016-09-30 09:14:22 -07:00
testing selftests: netfilter: add simple masq/redirect test cases 2019-03-13 14:05:00 -07:00
thermal/tmon tools/thermal: tmon: fix for segfault 2018-05-30 07:50:43 +02:00
time
usb tools: usb: ffs-test: Fix build on big endian systems 2018-09-05 09:20:00 +02:00
virtio ptr_ring: fix up after recent ptr_ring changes 2018-11-10 07:42:50 -08:00
vm tools/vm/page-types.c: fix "defined but not used" warning 2018-10-10 08:53:20 +02:00
Makefile tools/gpio: add install section 2016-06-23 11:07:13 +02:00