[PATCH] reduce alignment constraint on ia64 elf core header

Simon Horman horms at verge.net.au
Tue Mar 4 20:57:16 EST 2008


On Tue, Mar 04, 2008 at 06:49:44AM -0500, Neil Horman wrote:
> On Tue, Mar 04, 2008 at 01:28:16PM +0900, Simon Horman wrote:
> > On Mon, Mar 03, 2008 at 04:56:44PM +0100, Bernhard Walle wrote:
> > > * Neil Horman <nhorman at tuxdriver.com> [2008-03-03 15:30]:
> > > > Hey all-
> > > > 	Patch to reduce the alignment constraints on ia64 elf core headers.
> > > > >From what I can see there is no need to align the elf core header structure to
> > > > the EFI_PAGE_SIZE (given that the EFI will never read this data, only the kernel
> > > > will when booting a kdump kernel).  And since this is going into our reserved
> > > > memory, it saves us 3K (4K vs 1K alignment).  Tested successfully by myself on
> > > > several ia64 boxes.
> > > 
> > > This is wrong. Please read this thead:
> > > 
> > > https://lists.linux-foundation.org/pipermail/fastboot/2007-February/012882.html
> > 
> > Hi Neil, Hi Bernhard,
> > 
> > I can confirm that with Neil's patch I end up with a zero
> > byte long /proc/vmcore
> > 
> > -- 
> > Horms
> 
> Rescinded.  My bad, I didn't think to check that.

Thanks to Bernhard for spotting this,
I likely would have merged it otherwise.

-- 
Horms




More information about the kexec mailing list