Re: [Fastboot] RE: [BROKEN PATCH] kexec for ia64

Eric W. Biederman
2004-08-05T17:05:01Z

Hmm. Your mailer did not add any references lines.

"Luck, Tony" <tony.luck@intel.com> writes:

> Jesse Barnes wrote:
> >With the addition of some ACPI tables and such. I don't think
> >those are freed by the kernel right now though, so it should
> >be pretty easy to point at the originals from the newly kexec'd
> >kernel, or make copies.
>
> The "trim_bottom" and "trim_top" functions currently modify
> the memory map in place. But this would only make a difference
> if you tried to kexec a kernel with a smaller granule size than
> the originally running kernel, and even then would only
> result in missing seeing some memory that you might have been
> able to use.

On x86 and x86-64 we can recover the memory map from /proc/iomem.

Does that work on ia64? Can that be fixed to work on ia64?

All of that information needs to get exported to user space so
/sbin/kexec can pass it to the new kernel.

Eric