diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-01-04 21:17:09 +0300 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2016-01-25 17:15:41 +0300 |
commit | a9166cbdee829d53723cf9324da0951ff9dd6802 (patch) | |
tree | 4e5e0c4c57167002802afc7cdbd0cc21f0cb31c8 /drivers/char | |
parent | 5dbeb6d5d20d4a037b68a1c75c13bdc88c1566e2 (diff) | |
download | linux-a9166cbdee829d53723cf9324da0951ff9dd6802.tar.xz |
x86/boot: Double BOOT_HEAP_SIZE to 64KB
commit 8c31902cffc4d716450be549c66a67a8a3dd479c upstream.
When decompressing kernel image during x86 bootup, malloc memory
for ELF program headers may run out of heap space, which leads
to system halt. This patch doubles BOOT_HEAP_SIZE to 64KB.
Tested with 32-bit kernel which failed to boot without this patch.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions