Re: [Fastboot] [PATCH] kexec on ia64

From: Eric W. Biederman
Date: Tue Apr 04 2006 - 22:51:25 EST


KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> writes:

> Hi, I have a question about kexec/kdump.
>
> How does kdump know memory layout (of old kernel) now ?
>
> I'm working for memory hotplug. When memory is hot-added, memory layout changes.
> But I think there is no code to manage memory layout information of added
> memory.

It is passed from one kernel to another, and it is memorized when you load
the crash dump kernel. If your memory layout changes you need to reload
the crash dump kernel from user space with the appropriate hotplug script.

Unless this happens often it shouldn't be a problem.

And yes this does leave a small race during which kexec on panic won't
work.

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/