Re: [PATCH net-next] rhashtable: compact struct rhashtable_params

2017-05-01 Thread David Miller
From: Florian Westphal Date: Thu, 27 Apr 2017 17:28:09 +0200 > By using smaller datatypes this struct shrinks considerably > (80 -> 48 bytes on x86_64). > > As this is embedded in other structs, this also reduces size of several > others, e.g. cls_fl_head and nft_hash. > > Signed-off-by: Floria

[PATCH net-next] rhashtable: compact struct rhashtable_params

2017-04-27 Thread Florian Westphal
By using smaller datatypes this struct shrinks considerably (80 -> 48 bytes on x86_64). As this is embedded in other structs, this also reduces size of several others, e.g. cls_fl_head and nft_hash. Signed-off-by: Florian Westphal --- include/linux/rhashtable.h | 18 +- lib/rhas