[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070307.185539.48527371.davem@davemloft.net>
Date: Wed, 07 Mar 2007 18:55:39 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: shemminger@...ux-foundation.org
Cc: w@....eu, 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: use 32 bit math
From: Stephen Hemminger <shemminger@...ux-foundation.org>
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 <shemminger@...ux-foundation.org>
Applied, thanks Stephen.
What about Willy Tarreau's supposedly even faster variant?
Or does this incorporate that set of improvements?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists