Re: [PATCH] vxlan: Use FDB_HASH_SIZE hash_locks to reduce contention

2019-06-06 Thread David Miller
From: Litao jiao 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:

[PATCH] vxlan: Use FDB_HASH_SIZE hash_locks to reduce contention

2019-06-06 Thread Litao jiao
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 Signed-off-by: Litao jiao --- drivers/net/vxlan.c |