commit | 66d0f207dbf0e983c8006eb2fc5060163646210f | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Mon Aug 27 08:44:14 2018 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Thu Aug 30 16:31:50 2018 -0400 |
tree | 9e0df1e6666c86e730e07d54c573d079860acaa9 | |
parent | 3db2bceb29fd9a2f31d5df573f337dbba577f8e9 [diff] |
IB/rxe: Replace spinlock with rwlock Concurrent readers which read rb tree are protected using read lock. Concurrent writers which add element to pool are protected using write lock. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com> Signed-off-by: Doug Ledford <dledford@redhat.com>