Searched hist:"42 da6994" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/core/ |
H A D | skbuff.c | 42da6994 Tue May 26 13:50:19 CDT 2009 Herbert Xu <herbert@gondor.apana.org.au> 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> 42da6994 Tue May 26 13:50:19 CDT 2009 Herbert Xu <herbert@gondor.apana.org.au> 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>
|