]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit0b4eb462da10f832b28d518abffa4d77805928a0
treeb92e21993c1f26143811de87dd8988213e823582
parent83c4832683bc8ebcd1687b3c0bf3ba1ab253dd4f
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