Re: [PATCH 2/4 v4] kernel/fork.c: avoid division by zero
From: Heinrich Schuchardt
Date: Mon Feb 23 2015 - 16:30:14 EST
On 23.02.2015 22:10, Peter Zijlstra wrote:
> On Mon, Feb 23, 2015 at 09:14:35PM +0100, Heinrich Schuchardt wrote:
>> With 32-bit calculus there is no solution which delivers valid results
>> for all possible combinations of the parameters.
>
> So I can't help but be bugged by this (my problem I know); calculus is
> the mathematics of change; its differential equations and integrals.
Yes, I used the wrong word. Thanks.
>
> What we do here is modular arithmetic on a commutative ring.
>
> Please use calculation as you do here:
>
>> Hence a 64-bit calculation can be used as solution.
>
>
Is it only the text of the commit message that needs change?
Best regards
Heinrich
--
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/