RDMA/rxe: Replace irqsave locks with bh locks
authorBob Pearson <rpearsonhpe@gmail.com>
Wed, 3 Nov 2021 05:02:30 +0000 (00:02 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 19 Nov 2021 17:29:14 +0000 (13:29 -0400)
commit21adfa7a3c4e7758a43dbfa33782dbef42c76ec5
treeaa22110248818e25f9a7aee71f7416b961b43a64
parent10f2d1cbf8f16c63ca3d746adb33d43f116dbb05
RDMA/rxe: Replace irqsave locks with bh locks

Most of the locks in the rxe driver are _irqsave/restore locks but in fact
there are no interrupt threads that run rxe code or share data with
rxe. There are softirq threads and data sharing so the appropriate lock
type is _bh. This patch replaces all irqsave type locks with bh type
locks.

Link: https://lore.kernel.org/r/20211103050241.61293-2-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_comp.c
drivers/infiniband/sw/rxe/rxe_cq.c
drivers/infiniband/sw/rxe/rxe_mcast.c
drivers/infiniband/sw/rxe/rxe_mw.c
drivers/infiniband/sw/rxe/rxe_pool.c
drivers/infiniband/sw/rxe/rxe_queue.c
drivers/infiniband/sw/rxe/rxe_req.c
drivers/infiniband/sw/rxe/rxe_task.c
drivers/infiniband/sw/rxe/rxe_verbs.c