Re: [PATCH v2] arm64: use the vmcore info to get module/vmalloc/vmemmap ranges

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

 



On Wed, Mar 16, 2022 at 02:40:25AM +0000, HAGIO KAZUHITO(萩尾 一仁) wrote:
> -----Original Message-----
> > The kernel patch has been merged:
> >      "arm64: crash_core: Export MODULES, VMALLOC, and VMEMMAP ranges"
> >      https://git.kernel.org/arm64/c/2369f171d5c5
> > 
> > and it will be available in v5.18-rc1.
> > 
> > So we can get module/vmalloc/vmemmap ranges from the vmcore info
> > since the v5.18, and we have no need to calculate them by hand
> > any more.
> > 
> > This patch adds a new hook arm64_get_range_v5_18 which could parse
> > out all the module/vmalloc/vmemmap ranges from the vmcore info.
> > 
> > Signed-off-by: Huang Shijie <shijie@xxxxxxxxxxxxxxxxxxxxxx>
> > ---
> > v1-->v2:
> > 	1.) Change return types to TRUE/FALSE
> > 	    for arm64_get_vmcoreinfo_ul().
> > 
> > 	2.) Change version limit from LINUX(99,0,0) to LINUX(999, 0, 0)
> > 	    I guess LINUX(99, 0, 0) can be used for 25 years,
> > 	    so I extended to LINUX(999,0,0).
> 
> (I think that 9.x is possible and 99.x is unlikely in 25 years.. but ok,

Yes, I was wrong about it.. :)

Thanks
Huang Shijie

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/crash-utility
Contribution Guidelines: https://github.com/crash-utility/crash/wiki




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux