Re: [PATCH makedumpfile] Fix incorrect exclusion of slab pages on Linux 6.2-rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2022/12/21 11:06, HAGIO KAZUHITO(萩尾 一仁) wrote:
> From: Kazuhito Hagio <k-hagio-ab@xxxxxxx>
> 
> * Required for kernel 6.2
> 
> Kernel commit 130d4df57390 ("mm/sl[au]b: rearrange struct slab fields to
> allow larger rcu_head"), which is contained in Linux 6.2-rc1 and later,
> made the offset of slab.slabs equal to page.mapping's one.  As a result,
> "makedumpfile -d 8", which should exclude user data, excludes some slab
> pages incorrectly because isAnon() returns true when slab.slabs is an
> odd number.  With such dumpfiles, crash can fail to start session with
> an error like this:
> 
>    # crash vmlinux dumpfile
>    ...
>    crash: page excluded: kernel virtual address: ffff8fa047ac2fe8 type: "xa_node shift"
> 
> Make isAnon() check that the page is not slab to fix this.
> 
> Signed-off-by: Kazuhito Hagio <k-hagio-ab@xxxxxxx>

Applied.
https://github.com/makedumpfile/makedumpfile/commit/5f17bdd2128998a3eeeb4521d136a192222fadb6

Thanks,
Kazu
_______________________________________________
kexec mailing list
kexec@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/kexec




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux