Re: divide by zero oops in kernel 3.17.7

From: Frans Klaver
Date: Thu Feb 05 2015 - 03:43:07 EST


On Thu, Feb 5, 2015 at 9:39 AM, Frans Klaver <fransklaver@xxxxxxxxx> wrote:
> On Thu, Feb 5, 2015 at 5:08 AM, william <william@xxxxxxxxxx> wrote:
>> so it seems that i m hitting this bug :
>> https://lkml.org/lkml/2014/4/29/497
>>
>> + if (!divisor)
>> + divisor = 1;
>>
>> that have been fixed ( well it looks more like a workaround than a fix
>> seen from here ) in the 64 bit code but not in the 32 bit code ? I
>> understand it right ?

I forgot to mention that the eventual fix is not the original patch
submission. d5c9fde3dae75088916 (mm/page-writeback.c: fix divide by
zero in pos_ratio_polynom) ended up being merged.

Frans
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/