diff options
author | Nikolay Aleksandrov <[email protected]> | 2015-09-30 20:16:51 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-10-01 18:24:03 -0700 |
commit | 8af78b6487856d8a896ba15e9255b8e5fa91eb5f (patch) | |
tree | 89bff0cf7845888e3790bfa9870d517d7313a6c3 /lib/dynamic_debug.c | |
parent | 4bf1b54f9df7ced4869f7dfd0bdf5eb22aa98447 (diff) |
bridge: vlan: adjust rhashtable initial size and hash locks size
As Stephen pointed out the default initial size is more than we need, so
let's start small (4 elements, thus nelem_hint = 3). Also limit the hash
locks to the number of CPUs as we don't need any write-side scaling and
this looks like the minimum.
Signed-off-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions