[PATCH] x86: Support large number of memory ranges

Simon Horman horms at verge.net.au
Thu Mar 23 23:44:12 PDT 2017


On Thu, Mar 23, 2017 at 01:27:08PM +0000, Ramsay, Frank wrote:
> ________________________________________
> From: Xunlei Pang <xlpang at redhat.com>
> Sent: Thursday, March 23, 2017 7:16:59 AM
> To: kexec at lists.infradead.org
> Cc: Dave Young; Xunlei Pang; Ramsay, Frank
> Subject: [PATCH] x86: Support large number of memory ranges
> 
> We got a problem on one SGI 64TB machine, the current kexec-tools
> failed to work due to the insufficient ranges(MAX_MEMORY_RANGES)
> allowed which is defined as 1024(less than the ranges on the machine).
> The kcore header is insufficient due to the same reason as well.
> 
> To solve this, this patch simply doubles "MAX_MEMORY_RANGES" and
> "KCORE_ELF_HEADERS_SIZE".
> 
> Cc: Frank Ramsay <frank.ramsay at hpe.com>
> Signed-off-by: Xunlei Pang <xlpang at redhat.com>
> 
> acking I tested this
> Tested-by: Frank Ramsay <frank.ramsay at hpe.com>

Thanks, applied.



More information about the kexec mailing list