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

From: Milton Miller
Date: Fri Jun 11 2010 - 03:31:01 EST

On Thu, 10 Jun 2010 at around 22:50:34 -0700, H. Peter Anvin wrote:
> 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...

at which time the author of said theoritcal patch that might possibly
need page alignment would only need to update and not all
the architectures files.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at