]> git.baikalelectronics.ru Git - kernel.git/commit
x86, boot: align the .bss section in the decompressor
authorH. Peter Anvin <hpa@zytor.com>
Fri, 1 May 2009 00:59:36 +0000 (17:59 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 9 May 2009 00:16:21 +0000 (17:16 -0700)
commite5220f315dc2eb027719d2c1d9c7683d48ac2e56
treeb92e21993c1f26143811de87dd8988213e823582
parent495f25785d319f7c5bf6f4be9f6abec51abbc8b3
x86, boot: align the .bss section in the decompressor

Aligning the .bss section makes it trivial to use large operation
sizes for moving the initialized sections and clearing the .bss.
The alignment chosen (L1 cache) is somewhat arbitrary, but should be
large enough to avoid all known performance traps and small enough to
not cause troubles.

[ Impact: trivial performance enhancement, future patch prep ]

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/boot/compressed/vmlinux.lds.S