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? YH