Fix --mem-usage /proc/kcore
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest7 patches 9 repliesIn review
- v27 patches 5 repliesSuperseded
- v16 patches 4 repliesSuperseded
Changes in v3 from the cover letter
- Fixed a memory leak issue and updated man page and usage info
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | show_mem_usage(): calculate page offset after elf loadmakedumpfile.c | +3 | 0 replies | |
| 2/7 | initial(): call cach_init() a bit earlymakedumpfile.c | +3 | 4 replies | |
| 3/7 | x86_64: check physical address in PT_LOAD for none direct mapped regionsarch/ | +4 | 0 replies | |
| 4/7 | elf_info: kcore: check for invalid physical addresself_info.c | +4 | 0 replies | |
| 5/7 | makedumpfile: Correct the calculation of kvaddr in set_kcore_vmcoreinfoelf_info.c | +1 | 0 replies | |
| 6/7 | makedumpfile: Discard process_dump_loadelf_info.c | +0 | 0 replies | |
| 7/7 | mem-usage: allow to work only with -f for kernel version < 4.11makedumpfile.8 makedumpfile.c print_info.c | +16 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [Makedumpfile Patch v3 0/7] Fix --mem-usage /proc/kcore
makedumpfile --mem-usage /proc/kcore has been broken after kaslr specific modifications. Kernel commit commit 464920104bf7 (/proc/kcore: update physical address for kcore ram and text) provides now valid physical address for direct mapped regions and invalid (-1) for other areas. This helps to fix the issue in makedumpfile for both the case of kaslr enabled and disabled.
Changes since v2:
- Fixed a memory leak issue and updated man page and usage info
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.8 | 9 ++++++++- makedumpfile.c | 18 ++++++++++++------ print_info.c | 3 ++- 5 files changed, 31 insertions(+), 30 deletions(-)
Signature · 7 lines
2.9.3 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec