[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170327103607.GG23004@secunet.com>
Date: Mon, 27 Mar 2017 12:36:07 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Alexey Dobriyan <adobriyan@...il.com>
CC: <herbert@...dor.apana.org.au>, <davem@...emloft.net>,
<netdev@...r.kernel.org>
Subject: Re: [PATCH] xfrm: use "unsigned int" in __xfrm6_pref_hash()
On Fri, Mar 24, 2017 at 01:53:09AM +0300, Alexey Dobriyan wrote:
> x86_64 is zero-extending arch so "unsigned int" is preferred over "int"
> for address calculations.
>
> Space savings:
>
> add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-58 (-58)
> function old new delta
> xfrm_hash_resize 2752 2743 -9
> policy_hash_bysel 985 973 -12
> policy_hash_direct 1036 999 -37
>
> Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
Applied to ipsec-next, thanks!
Powered by blists - more mailing lists