lkml.org 
[lkml]   [2015]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/4 v4] kernel/fork.c: avoid division by zero
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.

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.



\
 
 \ /
  Last update: 2015-02-23 22:21    [W:0.198 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site