[PATCH 2/2 makedumpfile] Fix wrong exclusion of Slab pages on Linux 6.10-rc1 and later
HAGIO KAZUHITO(萩尾 一仁)
k-hagio-ab at nec.com
Wed Jun 12 22:43:33 PDT 2024
On 2024/06/07 15:34, HAGIO KAZUHITO(萩尾 一仁) wrote:
> * Required for kernel 6.10
>
> Kernel commit 46df8e73a4a3 ("mm: free up PG_slab") moved the PG_slab
> flag from page.flags into page._mapcount (slab.__page_type), and
> introduced NUMBER(PAGE_SLAB_MAPCOUNT_VALUE) entry into vmcoreinfo.
>
> Without the patch, "makedumpfile -d 8" option wrongly excludes Slab
> pages and crash cannot open the dumpfile with an error like this:
>
> $ crash --kaslr auto vmlinux dumpfile
> ...
> please wait... (gathering task table data)
> crash: page excluded: kernel virtual address: ffff909980440270 type: "xa_node.slots[off]"
>
> Signed-off-by: Kazuhito Hagio <k-hagio-ab at nec.com>
Applied the two patches for 6.9 and 6.10.
https://github.com/makedumpfile/makedumpfile/commit/985e575253f1c2de8d6876cfe685c68a24ee06e1
https://github.com/makedumpfile/makedumpfile/commit/bad2a7c4fa75d37a41578441468584963028bdda
Thanks,
Kazu
More information about the kexec
mailing list