On 2023/12/07 21:57, lijiang wrote: >>> It indicates that the attached patch may not work well between kernel >>> 4.11 and 5.12, is it possible to encounter the similar issue(the >>> nr_swapper_spaces may be optimized away)? >> >> I have not noticed any problems with the attached patch on >> earlier kernel versions. For instance on GKI kernels based on 5.10 >> [1] the 'nr_swapper_spaces' variable is not optimized out. >> >> > Thank you for the feedback, Johan. It makes sense, let's leave it there if > the above issue does not occur in the actual production environment. > > I have no other issues, for Johan's patch: Ack. Thank you guys, applied with Johan's tag and etc. https://github.com/crash-utility/crash/commit/c15da07526291a5c357010cb4aaf4bde6151e642 Please let us know if you find a kernel failing with this patch. Thanks, Kazu -- Crash-utility mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxxxxxx https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/ Contribution Guidelines: https://github.com/crash-utility/crash/wiki