[PATCH] IA64: better calculate PT_LOAD segment size

Jay Lan jlan at sgi.com
Fri Sep 19 22:17:05 EDT 2008


This patch combines consecutive PL_LOAD segments into one.
The end address of the last PL_LOAD segment, calculated by
adding p_memsz to p_paddr & rounded up to ELF_PAGE_SIZE,
will be the end address of this loaded_segments[] entry.

This patch fixes the kdump kernel MCA problem caused by under-
allocation of memory and a "kdump broken on ALtix 350" problem
reported by Bernhard Walle.

Simon, this patch replaces my previous patch I submitted on the
underallocation issue.

Signed-off-by: Jay Lan <jlan at sgi.com>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bootmem-fix.v2
Url: http://lists.infradead.org/pipermail/kexec/attachments/20080919/847ba053/attachment.pl 


More information about the kexec mailing list