Re: makedumpfile: Fix divide by zero in print_report()

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

 



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.

thanks,
	Dave


_______________________________________________
kexec mailing list
kexec@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/kexec



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux