[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 03 Apr 2017 19:05:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: adobriyan@...il.com
Cc: steffen.klassert@...unet.com, herbert@...dor.apana.org.au,
netdev@...r.kernel.org
Subject: Re: [PATCH v2 2/3] flowcache: make flow_cache_hash_size() return
"unsigned int"
From: Alexey Dobriyan <adobriyan@...il.com>
Date: Mon, 3 Apr 2017 00:52:29 +0300
> Hash size can't negative so "unsigned int" is logically correct.
>
> Propagate "unsigned int" to loop counters.
>
> Space savings:
>
> add/remove: 0/0 grow/shrink: 2/2 up/down: 6/-18 (-12)
> function old new delta
> flow_cache_flush_tasklet 362 365 +3
> __flow_cache_shrink 333 336 +3
> flow_cache_cpu_up_prep 178 171 -7
> flow_cache_lookup 1159 1148 -11
>
> Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
Applied.
Powered by blists - more mailing lists