diff options
author | Litao jiao <jiaolitao@raisecom.com> | 2019-06-06 17:57:58 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-06 11:08:55 -0700 |
commit | fe1e0713bbe84c6796b01d50a55ce4e324141161 (patch) | |
tree | 2cd04c3b21deca45672f51015c0c1cb5ad3deede /arch | |
parent | ipv6: fix spelling mistake: "wtih" -> "with" (diff) | |
download | linux-dev-fe1e0713bbe84c6796b01d50a55ce4e324141161.tar.xz linux-dev-fe1e0713bbe84c6796b01d50a55ce4e324141161.zip |
vxlan: Use FDB_HASH_SIZE hash_locks to reduce contention
The monolithic hash_lock could cause huge contention when
inserting/deletiing vxlan_fdbs into the fdb_head.
Use FDB_HASH_SIZE hash_locks to protect insertions/deletions
of vxlan_fdbs into the fdb_head hash table.
Suggested-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Litao jiao <jiaolitao@raisecom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions