diff options
author | Eric Dumazet <edumazet@google.com> | 2017-10-04 19:48:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-04 20:34:14 +0200 |
commit | c818fa9e288be5be7e360c33cf4f5e30f9fa206e (patch) | |
tree | 2d2bec98e7a84c3c1dd1a4a677381bb18dc3f06a /kernel/cgroup | |
parent | selftests: rtnetlink: try concurrent change of ifalias (diff) | |
download | linux-c818fa9e288be5be7e360c33cf4f5e30f9fa206e.tar.xz linux-c818fa9e288be5be7e360c33cf4f5e30f9fa206e.zip |
net: cache skb_shinfo() in skb_try_coalesce()
Compiler does not really know that skb_shinfo(to|from) are constants
in skb_try_coalesce(), lets cache their values to shrink code.
We might even take care of skb_zcopy() calls later.
$ size net/core/skbuff.o.before net/core/skbuff.o
text data bss dec hex filename
40727 1298 0 42025 a429 net/core/skbuff.o.before
40631 1298 0 41929 a3c9 net/core/skbuff.o
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/cgroup')
0 files changed, 0 insertions, 0 deletions