Re: [PATCH] tcp_cubic: use 32 bit math
From: David Miller <davem@davemloft.net>
Date: 2007-03-08 02:55:42
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2007-03-08 02:55:42
Also in:
lkml
From: Stephen Hemminger <redacted> Date: Wed, 7 Mar 2007 17:07:31 -0800
The basic calculation has to be done in 32 bits to avoid doing 64 bit divide by 3. The value x is only 22bits max so only need full 64 bits only for x^2. Signed-off-by: Stephen Hemminger <redacted>
Applied, thanks Stephen. What about Willy Tarreau's supposedly even faster variant? Or does this incorporate that set of improvements?