From: Eric Dumazet Date: Sun, 4 Dec 2011 07:05:17 +0000 (+0000) Subject: tcp: tcp_sendmsg() page recycling X-Git-Tag: v3.3-rc1~182^2~359 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=761965eab38d2cbc59c36e355c59609e3a04705a;p=pandora-kernel.git tcp: tcp_sendmsg() page recycling 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed