net: make struct napi_alloc_cache::skb_count unsigned int
authorAlexey Dobriyan <adobriyan@gmail.com>
Sat, 19 Nov 2016 00:47:56 +0000 (03:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Nov 2016 03:11:25 +0000 (22:11 -0500)
commite0d7924a4aaadfb779178f00ff67e96c895eb5eb
tree1b40210ede19e18188f21df9e23f7ef2cc2827ef
parentf463c99b208718b4fd25ec3501e0bd9d2e30f522
net: make struct napi_alloc_cache::skb_count unsigned int

size_t is way too much for an integer not exceeding 64.

Space savings: 10 bytes!

add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-10 (-10)
function                                     old     new   delta
napi_consume_skb                             165     163      -2
__kfree_skb_flush                             56      53      -3
__kfree_skb_defer                             97      92      -5
Total: Before=154865639, After=154865629, chg -0.00%

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c