aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/inetpeer.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-03-25 20:21:15 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:23:47 -0700
commitc5f5877c043ca471c3a607fa2c864848b19bc49a (patch)
treeb28d6cf22a0fc96f86a5c07a1b64cd8a2d3c7668 /net/ipv4/inetpeer.c
parent[ATM] ENI: Convert to struct timeval to ktime_t. (diff)
downloadlinux-dev-c5f5877c043ca471c3a607fa2c864848b19bc49a.tar.xz
linux-dev-c5f5877c043ca471c3a607fa2c864848b19bc49a.zip
[TCP] tcp_cubic: faster cube root
The Newton-Raphson method is quadratically convergent so only a small fixed number of steps are necessary. Therefore it is faster to unroll the loop. Since div64_64 is no longer inline it won't cause code explosion. Also fixes a bug that can occur if x^2 was bigger than 32 bits. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/inetpeer.c')
0 files changed, 0 insertions, 0 deletions