Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Makedumpfile Patch 0/6] Fix --mem-usage /proc/kcore
@ 2017-02-06 12:01 Pratyush Anand
  2017-02-06 12:01 ` [Makedumpfile Patch 1/6] show_mem_usage(): calculate page offset after elf load Pratyush Anand
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Pratyush Anand @ 2017-02-06 12:01 UTC (permalink / raw)
  To: ats-kumagai; +Cc: Pratyush Anand, dyoung, kexec, bhe


`makedumpfile --mem-usage /proc/kcore` has been broken after kaslr specific
modifications. I have proposed a kernel patch [0] which has been ACKed by
Andrew Morton and is available in next-2017020 now. Hopefully, it should be
part of upstream in v4.10 release. This kernel patch helps to fix this
issue for both the case of kaslr enabled and disabled.

To seek other's feedback, I am sending makedumpfile patches before kernel
patch hits upstream.

[0] http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?h=next-20170206&id=c9d4e5d7b7fd6c74e134ca44df8a5386efbc561c

Baoquan He (2):
  makedumpfile: Correct the calculation of kvaddr in
    set_kcore_vmcoreinfo
  makedumpfile: Discard process_dump_load

Pratyush Anand (4):
  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

 arch/x86_64.c  |  6 ++++--
 elf_info.c     | 25 +++++--------------------
 makedumpfile.c | 12 ++++++------
 3 files changed, 15 insertions(+), 28 deletions(-)

-- 
2.9.3


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

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

end of thread, other threads:[~2017-02-14  4:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-06 12:01 [Makedumpfile Patch 0/6] Fix --mem-usage /proc/kcore Pratyush Anand
2017-02-06 12:01 ` [Makedumpfile Patch 1/6] show_mem_usage(): calculate page offset after elf load Pratyush Anand
2017-02-06 12:01 ` [Makedumpfile Patch 2/6] initial(): call cach_init() a bit early Pratyush Anand
2017-02-06 12:01 ` [Makedumpfile Patch 3/6] x86_64: check physical address in PT_LOAD for none direct mapped regions Pratyush Anand
2017-02-06 12:01 ` [Makedumpfile Patch 4/6] elf_info: kcore: check for invalid physical address Pratyush Anand
2017-02-06 12:01 ` [Makedumpfile Patch 5/6] makedumpfile: Correct the calculation of kvaddr in set_kcore_vmcoreinfo Pratyush Anand
2017-02-06 12:01 ` [Makedumpfile Patch 6/6] makedumpfile: Discard process_dump_load Pratyush Anand
2017-02-13  6:26 ` [Makedumpfile Patch 0/6] Fix --mem-usage /proc/kcore Atsushi Kumagai
2017-02-13  7:34   ` Pratyush Anand
2017-02-13  8:28     ` Atsushi Kumagai
2017-02-14  4:43       ` Pratyush Anand

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