Re: [PATCH] x86_64: Re-positioning the bss segment

From: Sam Ravnborg
Date: Wed Aug 16 2006 - 14:32:39 EST


On Wed, Aug 16, 2006 at 05:03:14PM +0200, Andi Kleen wrote:
>
> > o This patch moves the bss at the end hence reducing the size of
> > bzImage by 896 bytes and size of vmlinux.bin by 600K.
> >
> > o This change benefits in the context of relocatable kernel patches. If
> > kernel bss is not part of compressed data (vmlinux.bin) then it does
> > not have to be decompressed and this area can be used by the decompressor
> > for its execution hence keeping the memory requirements bounded and
> > decompressor code does not stomp over any other data loaded beyond
> > kernel image (As might be the case with bootloaders like kexec).
>
> Merged thanks.
>
> Does i386 need a similar change?
If it does then I suggest moving the BSS definition to
include/asm-generic/vmlinux.lds.h

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/