Skip to content
Commit b4e26f5e authored by David S. Miller's avatar David S. Miller
Browse files

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent aa93466b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment