[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140729095227.GD5038@cpaasch-mac>
Date: Tue, 29 Jul 2014 11:52:27 +0200
From: Christoph Paasch <christoph.paasch@...ouvain.be>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, ncardwell@...gle.com,
David.Laight@...LAB.COM, doug.leith@...m.ie
Subject: Re: [PATCH v2 net] tcp: Fix integer-overflows in TCP vegas
On 28/07/14 - 17:26:27, David Miller wrote:
> From: Christoph Paasch <christoph.paasch@...ouvain.be>
> Date: Fri, 25 Jul 2014 13:52:39 +0200
>
> > + target_cwnd = U32_MAX / rtt * upper + err / rtt;
>
> Doing two divides is probably more expensive than using do_div().
>
> Why don't we go back to the do_div() implementation, sorry about
> changing my mind again.
No worries :)
I will resubmit.
Cheers,
Christoph
--
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