]> git.baikalelectronics.ru Git - kernel.git/commit
rhashtable: compact struct rhashtable_params
authorFlorian Westphal <fw@strlen.de>
Mon, 1 May 2017 20:18:01 +0000 (22:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2017 20:22:40 +0000 (16:22 -0400)
commitcb88c60a80456d5398ccf9f33d893619ec82e3e0
treedd330346101070359c7b1f84becb2bd72aad4780
parent150f1b92be04af5825bf42332fb87bda2f90aa26
rhashtable: compact struct rhashtable_params

By using smaller datatypes this (rather large) struct shrinks considerably
(80 -> 48 bytes on x86_64).

As this is embedded in other structs, this also rerduces size of several
others, e.g. cls_fl_head or nft_hash.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rhashtable.h
lib/rhashtable.c