summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/video-bios.c
diff options
context:
space:
mode:
authorJan H. Schönherr <jschoenh@amazon.de>2017-08-27 15:55:24 +0200
committerIngo Molnar <mingo@kernel.org>2017-08-29 13:32:50 +0200
commit5746f0555d00e1cbb7bc20a2fd09041ace6f350c (patch)
treeda5c0cba57ebae270083bba262f0c77eaffbf30c /arch/x86/boot/video-bios.c
parenteaa2f87c6b840b83827c40db6eb8481689570259 (diff)
downloadop-kernel-dev-5746f0555d00e1cbb7bc20a2fd09041ace6f350c.zip
op-kernel-dev-5746f0555d00e1cbb7bc20a2fd09041ace6f350c.tar.gz
x86/boot: Provide more slack space during decompression
The current slack space is not enough for LZ4, which has a worst case overhead of 0.4% for data that cannot be further compressed. With an LZ4 compressed kernel with an embedded initrd, the output is likely to overwrite the input. Increase the slack space to avoid that. Signed-off-by: Jan H. Schönherr <jschoenh@amazon.de> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Kees Cook <keescook@chromium.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1503842124-29718-1-git-send-email-jschoenh@amazon.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/boot/video-bios.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud