public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
* kdump: A memory hotplug issue on s390
@ 2011-10-25 17:17 Michael Holzheu
  2011-10-26 22:31 ` Simon Horman
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Holzheu @ 2011-10-25 17:17 UTC (permalink / raw)
  To: Simon Horman, Vivek Goyal; +Cc: kexec

Hello Simon and Vivek,

For s390 we currently use /proc/iomem for defining the memory layout in
the kexec elfcore header. Unfortunately this is not correct, when using
memory hotplug. When a memory chunk is set offline (e.g. with "echo
offline > /sys/devices/system/memory/memoryX/state") this is not
reflected in /proc/iomem.

To fix this I could parse /sys/devices/system/memory and exclude each
memory chunk that in not online from the /proc/iomem info. Do you think
that this approach is fine or is there a better solution?

Michael


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-10-31  6:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-25 17:17 kdump: A memory hotplug issue on s390 Michael Holzheu
2011-10-26 22:31 ` Simon Horman
2011-10-27 17:28   ` Vivek Goyal
2011-10-27 18:15     ` Michael Holzheu
2011-10-27 18:33       ` Vivek Goyal
2011-10-28 13:35   ` [PATCH] kexec-tools: s390: Fix memory detection for memory hotplug Michael Holzheu
2011-10-31  6:40     ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox