[PATCH 3/3] Limit E820 map when a user-defined memory map is specified
bwalle at suse.de
Tue Jun 24 10:07:29 EDT 2008
* Yinghai Lu [2008-06-22 13:11]:
> On Sun, Jun 22, 2008 at 12:56 PM, Bernhard Walle <bwalle at suse.de> wrote:
> > * "Yinghai Lu" <yhlu.kernel at gmail.com> [2008-06-20 13:34]:
> >> any problem that you encountered without this patch?
> > Sorry, forgot to answer that question.
> > Yes, if you use mem=3G and take a dump, kexec builds the ELF core
> > headers for the full memory size, which means that the dump is as large
> > as the physical memory of the machine is, which doesn't make sense.
> can we use e820_update_range instead? so e820_setup_gap still can get
> correct value?
Yes, good idea. Patch is in the queue ...
Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development
More information about the kexec