[RFC PATCH 0/2] transfer sparse memory related values

From: Liu Hua
Date: Wed May 07 2014 - 09:35:38 EST


Now different platforms may have different SECTION_SIZE_BITS and
MAX_PHYSMEM_BITS. But linux passes nothing related to the
vmcore.

User space tools such as makedumpfile needs these to deal with
the vmcore. So we must define these when compiling. So if we
deal with aother vmcore. We may need to recompile the tools.

These patch series make kernel pass related infomation to
the user space tools, via vmcore. And makedumpfile can
get these when parsing vmcore. So the makdumpfile becomes
more compatible to vmcore with different section size.


Liu Hua (1):
kdump: add sparse memory related values to vmcore
makedumpfile: get additional information from vmcore

kernel/kexec.c | 3 +++
makedumpfile.c | 17 +++++++++++++++++
makedumpfile.h | 2 ++
3 files changed, 22 insertions(+)

--
1.9.0

--
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/