makdumpfile: Add "mem=" handling for physical memory dumps
Get series with b4
b4 am 20140325171231.6cbaa2e5@holzheuVersions newest first
- v1 Latest2 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | makedumpfile: Fix zero checking of get_mm_sparsemem()makedumpfile.c | +17 | 0 replies | |
| 2/2 | makedumpfile: Use max_pfn from mem_map arraymakedumpfile.c | +13 | 16 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] makdumpfile: Add "mem=" handling for physical memory dumps
There are dump mechansims like s390 stand-alone dump or KVM virsh dump that write the physical memory of a machine and that are not aware of the dumped operating system. If for the Linux kernel of the dumped system the "mem=" kernel parameter has been specified, the "max_mapnr" that makedumpfile gets from the ELF header can be bigger than the maximum page frame number used by the dumped Linux kernel. This can lead to makedumpfile errors on s390x and can also lead to extended dump times and sizes.
The following two patches for version 1.5.5 fix these issues:
Michael Holzheu (2):
makedumpfile: Fix zero checking of get_mm_sparsemem()
makedumpfile: Use max_pfn from mem_map array
makedumpfile.c | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-)
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec