git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117632e
)
tcp: tcp_sendmsg() page recycling
author
Eric Dumazet
<eric.dumazet@gmail.com>
Sun, 4 Dec 2011 07:05:17 +0000
(07:05 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sun, 4 Dec 2011 18:20:40 +0000
(13:20 -0500)
If our TCP_PAGE(sk) is not shared (page_count() == 1), we can set page
offset to 0.
This permits better filling of the pages on small to medium tcp writes.
"tbench 16" results on my dev server (2x4x2 machine) :
Before : 3072 MB/s
After : 3146 MB/s (2.4 % gain)
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c
patch
|
blob
|
history
diff --cc
net/ipv4/tcp.c
Simple merge