]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: Fix send-side cpu utiliziation regression.
authorDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2005 22:20:27 +0000 (15:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2005 22:20:27 +0000 (15:20 -0700)
commita3d962b7598ac466ac3b87926811724446d39900
tree6d1d36cafebb126ff3946443e6d03fec60776f5e
parentbaba2e1bb8e1ccda25d1a2afcb91d0257dbc3d67
[TCP]: Fix send-side cpu utiliziation regression.

Only put user data purely to pages when doing TSO.

The extra page allocations cause two problems:

1) Add the overhead of the page allocations themselves.
2) Make us do small user copies when we get to the end
   of the TCP socket cache page.

It is still beneficial to purely use pages for TSO,
so we will do it for that case.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c