Re: [PATCH] netlink: smaller nla_attr_minlen table

2016-11-19 Thread David Miller
From: Alexey Dobriyan Date: Sat, 19 Nov 2016 03:59:07 +0300 > 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 o

[PATCH] netlink: smaller nla_attr_minlen table

2016-11-18 Thread Alexey Dobriyan
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