From: Eric Dumazet Date: Sun, 22 Apr 2012 12:26:16 +0000 (+0000) Subject: net: speedup skb_splice_bits() X-Git-Tag: v3.5-rc1~109^2~306 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41c73a0d44c902e92397552acce181295eaa448b;p=pandora-kernel.git net: speedup skb_splice_bits() Commit 35f3d14db (pipe: add support for shrinking and growing pipes) added a slowdown for splice(socket -> pipe), as we might grow the spd used in skb_splice_bits() for each skb we process in splice() syscall. Its not needed since skb lengths are capped. The default on-stack arrays are more than enough. Use MAX_SKB_FRAGS instead of PIPE_DEF_BUFFERS to describe the reasonable limit per skb. Add coalescing support to help splicing of GRO skbs built from linear skbs (linked into frag_list) Signed-off-by: Eric Dumazet Cc: Jens Axboe Cc: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed