Hi Christopher,
> Can the crash code be generalized so that it works on all platforms?
Just to add to this, vmemmap_list (basically a list of page structs) may be
missing/empty on some architectures, such as PowerPC.
There was a commit in Linux to simplify the mapping by using page
table instead of vmemmap_list, in case of Radix MMU on PowerPC:
368a0590d954: (powerpc/book3s64/vmemmap: switch radix to use a
different vmemmap handling function)
Accordingly, a improvement was done in crash to handle this:
a9291fc1bf61 ("ppc64: do page traversal if vmemmap_list not populated")
We might need to handle such case if it's generalized.
Thanks,
Aditya Gupta
> --
> Crash-utility mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
> Contribution Guidelines: https://github.com/crash-utility/crash/wiki
--
Crash-utility mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
Contribution Guidelines: https://github.com/crash-utility/crash/wiki