On 2022/12/21 11:06, HAGIO KAZUHITO(萩尾 一仁) wrote:
> From: Kazuhito Hagio <[email protected]>
> 
> * 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 <[email protected]>

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

Thanks,
Kazu
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

Reply via email to