Re: [PATCH] vxlan: Use FDB_HASH_SIZE hash_locks to reduce contention
From: David Miller
Date: Thu Jun 06 2019 - 14:13:29 EST
From: Litao jiao <jiaolitao@xxxxxxxxxxxx>
Date: Thu, 6 Jun 2019 17:57:58 +0800
> 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@xxxxxxxxxxxxx>
> Signed-off-by: Litao jiao <jiaolitao@xxxxxxxxxxxx>