Searched hist:"66 d0f207dbf0e983c8006eb2fc5060163646210f" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_pool.h | diff 66d0f207dbf0e983c8006eb2fc5060163646210f Mon Aug 27 07:44:14 CEST 2018 Parav Pandit <parav@mellanox.com> 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>
|
H A D | rxe_pool.c | diff 66d0f207dbf0e983c8006eb2fc5060163646210f Mon Aug 27 07:44:14 CEST 2018 Parav Pandit <parav@mellanox.com> 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>
|