lkml.org 
[lkml]   [2010]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/2] vmlinux.lds.h: allow people to set a smaller rootfs alignment
Date
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 vmlinux.lds.h and not all
the architectures vmlinux.lds.S files.

milton


\
 
 \ /
  Last update: 2010-06-11 09:33    [from the cache]
©2003-2011 Jasper Spaans