diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-05-26 18:50:19 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-27 03:25:54 -0700 |
commit | 42da6994ca6d20ad1d4e30255dee98047db454e7 (patch) | |
tree | 0feb7e6d5d18c5534f080636e809e7df9934f2c6 /usr | |
parent | 0fb2787bf2fa5dbe02ffd61ca3ce842c50769573 (diff) |
gro: Open-code frags copy in skb_gro_receive
gcc does a poor job at generating code for the memcpy of the frags
array in skb_gro_receive, which is the primary purpose of that
function when merging frags. In particular, it can't utilise the
alignment information of the source and destination. This patch
open-codes the copy so we process words instead of bytes.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions