From: Eric Dumazet Date: Thu, 22 Jul 2010 19:09:08 +0000 (+0000) Subject: net: pskb_expand_head() optimization X-Git-Tag: v2.6.36-rc1~571^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fed66381d65a35198639f564365e61a7f256bf79;p=pandora-kernel.git net: pskb_expand_head() optimization Move frags[] at the end of struct skb_shared_info, and make pskb_expand_head() copy only the used part of it instead of whole array. This should avoid kmemcheck warnings and speedup pskb_expand_head() as well, avoiding a lot of cache misses. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed