diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-07-22 21:09:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-25 06:05:57 +0200 |
commit | fed66381d65a35198639f564365e61a7f256bf79 (patch) | |
tree | e4d4c83f135f58c32a85454e28e33407711f7718 /drivers/net/qlcnic/qlcnic.h | |
parent | sysfs: add attribute to indicate hw address assignment type (diff) | |
download | linux-fed66381d65a35198639f564365e61a7f256bf79.tar.xz linux-fed66381d65a35198639f564365e61a7f256bf79.zip |
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 <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic.h')
0 files changed, 0 insertions, 0 deletions