On Tue, Sep 10, 2019 at 4:55 AM Kazuhito Hagio <k-hagio(a)ab.jp.nec.com> wrote:
The -e option excludes the page structures (vmemmap) which represent
excluded pages and greatly shortens the dump of a very large memory
system. This option is only for x86_64.
But currently it does not support KASLR-enabled vmcore, as a result,
it excludes incorrect pages and can create a broken dumpfile without
errors on KASLR-enabled system. Patch 1/3 fixes this issue.
Patch 2/3 fixes an issue that some boundary vmemmap pages that should
be excluded are not excluded correctly.
Patch 3/3 fixes an issue that the -e option does some unnecessary
processing with no effect and marks the dump DUMP_DH_EXCLUDED_VMEMMAP
unexpectedly on architectures other than x86_64.
Kazuhito Hagio (3):
makedumpfile: x86_64: Fix incorrect exclusion by -e option with KASLR
makedumpfile: Fix exclusion range in find_vmemmap_pages()
makedumpfile: Fix inconsistent return value from find_vmemmap()
...xclusion-range-in-find_vmemmap_pages.patch | 37 ++
...stent-return-value-from-find_vmemmap.patch | 327 ++++++++++++++++++
...-Fix-incorrect-exclusion-by-e-option.patch | 41 +++
kexec-tools.spec | 6 +
4 files changed, 411 insertions(+)
create mode 100644
kexec-tools-2.0.20-makedumpfile-Fix-exclusion-range-in-find_vmemmap_pages.patch
create mode 100644
kexec-tools-2.0.20-makedumpfile-Fix-inconsistent-return-value-from-find_vmemmap.patch
create mode 100644
kexec-tools-2.0.20-makedumpfile-x86_64-Fix-incorrect-exclusion-by-e-option.patch
--
2.23.0
_______________________________________________
kexec mailing list -- kexec(a)lists.fedoraproject.org
To unsubscribe send an email to kexec-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/kexec@lists.fedoraproject.org
Thanks for the patch! Looks good and ACK.
--
Best Regards,
Kairui Song