[Makedumpfile Patch v2 0/7] Fix --mem-usage /proc/kcore
Pratyush Anand
panand at redhat.com
Mon Feb 27 21:52:34 PST 2017
`makedumpfile --mem-usage /proc/kcore` has been broken after kaslr specific
modifications. A kernel patch has been ACKed by Andrew Morton and has been
sent to Linus now [0]. This kernel patch helps to fix the issue for both
the case of kaslr enabled and disabled.
[0] http://marc.info/?l=linux-mm-commits&m=148823497215968&w=2
Changes since v1:
- One more patch..Now mem-usage with older kernel (< 4.11) will only work
when that has been rightly patched and -f has been used in makedumpfile
command line.
Baoquan He (2):
makedumpfile: Correct the calculation of kvaddr in
set_kcore_vmcoreinfo
makedumpfile: Discard process_dump_load
Pratyush Anand (5):
show_mem_usage(): calculate page offset after elf load
initial(): call cach_init() a bit early
x86_64: check physical address in PT_LOAD for none direct mapped
regions
elf_info: kcore: check for invalid physical address
mem-usage: allow to work only with -f for kernel version < 4.11
arch/x86_64.c | 6 ++++--
elf_info.c | 25 +++++--------------------
makedumpfile.c | 18 ++++++++++++------
3 files changed, 21 insertions(+), 28 deletions(-)
--
2.9.3
More information about the kexec
mailing list