From: Neil Horman on
On Fri, Aug 13, 2010 at 01:38:54AM -0400, Amerigo Wang wrote:
> Currently KEXEC_SEGMENT_MAX is only 16 which is too small for machine with
> many memory ranges. When hibernate on a machine with disjoint memory we do
> need one segment for each memory region. Increase this hard limit to 16K
> which is reasonably large.
> And change ->segment from a static array to a dynamically allocated memory.
> Cc: Neil Horman <nhorman(a)>
> Cc: Vivek Goyal <vgoyal(a)>
> Cc: huang ying <huang.ying.caritas(a)>
> Cc: Eric W. Biederman <ebiederm(a)>
> Cc: Benjamin Herrenschmidt <benh(a)>
> Cc: Paul Mackerras <paulus(a)>
> Signed-off-by: WANG Cong <amwang(a)>
Concur with Simon

Reviewed-by: Neil Horman <nhorman(a)>

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