From: Herbert Xu <[EMAIL PROTECTED]> Date: Thu, 20 Dec 2007 22:00:12 +0800
> On Thu, Dec 20, 2007 at 04:00:37AM -0800, David Miller wrote: > > > > In the most ideal sense, tcp_window_allows() should probably > > be changed to only return MSS multiples. > > > > Unfortunately this would add an expensive modulo operation, > > however I think it would elimiate this problem case. > > Well you only have to divide in the unlikely case of us being > limited by the receiver window. In that case speed is probably > not of the essence anyway. Agreed, to some extent. I say "to some extent" because it might be realistic, with lots (millions) of sockets to hit this case a lot. There are so many things that are a "don't care" performance wise until you have a lot of stinky connections over crappy links. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html