diff options
| author | Stephen Hemminger <[email protected]> | 2005-12-22 03:32:36 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2006-01-03 21:11:09 +0000 |
| commit | 9eb2d627190a8afe4b9276b24615a9559504fa60 (patch) | |
| tree | 39479e9d761e53462bd05f979d0ced132bbfcb0a /net/unix/af_unix.c | |
| parent | [TCP] cubic: precompute constants (diff) | |
| download | kernel-9eb2d627190a8afe4b9276b24615a9559504fa60.tar.gz kernel-9eb2d627190a8afe4b9276b24615a9559504fa60.zip | |
[TCP] cubic: use Newton-Raphson
Replace cube root algorithim with a faster version using Newton-Raphson.
Surprisingly, doing the scaled div64_64 is faster than a true 64 bit
division on 64 bit CPU's.
Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
