Re: [PATCH 1/2] vmlinux.lds.h: allow people to set a smaller rootfs alignment

From: H. Peter Anvin
Date: Fri Jun 11 2010 - 01:50:49 EST


On 06/09/2010 12:42 AM, Mike Frysinger wrote:
>
> i have no problem changing the default to 4 since it works fine on
> Blackfin systems. your analysis of the source alignment also seems
> reasonable ... i assume that the 8 byte fields in the source cpio
> arent referenced directly, otherwise it'd cause problems on 64bit
> systems that require 64bit values to be naturally aligned.
>
> beyond that, i dont see why any larger alignment values would be
> required since this source archive isnt executed directly. it gets
> expanded into a ramfs and then freed with the rest of the init stuff.
>

We have talked for a long time about incrementally freeing the initramfs
as it is decoded, which might help systems which are using most of their
memory for an initramfs image...

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
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/