[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161119.221203.37032690566080928.davem@davemloft.net>
Date: Sat, 19 Nov 2016 22:12:03 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: adobriyan@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] netlink: smaller nla_attr_minlen table
From: Alexey Dobriyan <adobriyan@...il.com>
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 override prefix.
...
> Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
Applied to net-next.
Powered by blists - more mailing lists