Re: [Patch] kexec: increase max of kexec segments and use dynamic allocation

From: Eric W. Biederman
Date: Thu Jul 22 2010 - 02:28:55 EST


Amerigo Wang <amwang@xxxxxxxxxx> writes:

> Currently KEXEC_SEGMENT_MAX is only 16 which is too small for machine with
> many memory ranges. Increase this hard limit to 1024 which is reasonably large,
> and change ->segment from a static array to a dynamically allocated memory.

???

This should be about segments in the executable being loaded. What
executable has one segment for each range of physical memory?

Not that generalizing this is a bad idea but with a comment that
seems entirely wrong I am wondering what the problem really is.

Eric

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/