summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_output.c
diff options
context:
space:
mode:
authorAlexey Dobriyan2016-11-19 01:59:07 +0100
committerDavid S. Miller2016-11-20 04:11:25 +0100
commit32d84cdcfde00f28f6133f0e2b015c86f2466fb1 (patch)
tree36b3618ab38af0a63d8bdace9a70ad33e7fbbd24 /net/ipv6/ip6_output.c
parentnetlink: use "unsigned int" in nla_next() (diff)
downloadkernel-qcow2-linux-32d84cdcfde00f28f6133f0e2b015c86f2466fb1.tar.gz
kernel-qcow2-linux-32d84cdcfde00f28f6133f0e2b015c86f2466fb1.tar.xz
kernel-qcow2-linux-32d84cdcfde00f28f6133f0e2b015c86f2466fb1.zip
netlink: smaller nla_attr_minlen table
Length of a netlink attribute may be u16 but lengths of basic attributes are much smaller, so small we can save 16 bytes of .rodata and pocket change inside .text. 16-bit is worse on x86-64 than 8-bit because of operand size override prefix. add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-19 (-19) function old new delta validate_nla 418 417 -1 nla_policy_len 66 64 -2 nla_attr_minlen 32 16 -16 Total: Before=154865051, After=154865032, chg -0.00% Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions