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 - : send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |