[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070306.202052.03980320.davem@davemloft.net>
Date: Tue, 06 Mar 2007 20:20:52 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: shemminger@...ux-foundation.org
Cc: rkuhn@....physik.tu-muenchen.de, andi@...stfloor.org,
dada1@...mosbay.com, jengelh@...ux01.gwdg.de,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] tcp_cubic: faster cube root
From: Stephen Hemminger <shemminger@...ux-foundation.org>
Date: Tue, 6 Mar 2007 14:47:06 -0800
> 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@...ux-foundation.org>
Applied, thanks Stephen.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists