> -----Original Message----- > On Thu, Sep 26, 2019 at 06:41:48PM +0000, Kazuhito Hagio wrote: > > > > -----Original Message----- > > > If info->max_mapnr and pfn_memhole are equal, we divide by zero when > > > trying determine the 'shrinking' value. > > > > > > On the system I saw this error, we arrived at this function with > > > info->max_mapnr:0x0000000001080000 pfn_memhole:0x0000000001080000 > > > > Thank you for the patch. > > I suppose that you see the error with the -E option, right? > > > > It seems that the -E option has some problems with its statistics, > > so I'm checking whether there is a better way to fix this. > > Yes, we use the -E option. > We manage to get useful info from the generated dump after this fix, so > it seems it only affects the statistics output. OK, the statistics in cyclic mode with the -E option is completely wrong but a possible fix is likely to affect the whole of cyclic processing, so I just cover the hole with your patch and leave the statistics problem as a known issue at this time. I would revisit it when I have time. The patch was applied to the devel branch. Thanks, Kazu _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec