Re: [PATCH] nvmet-rdma: use spin_lock_bh() on rsp_wr_wait_lock
From: Sagi Grimberg
Date: Tue Sep 26 2023 - 15:55:23 EST
On 9/26/23 20:22, Chengfeng Ye wrote:
It seems to me that read_cqe.done could be executed under softirq
context,
It doesn't though.
as done callbacks always do, and it acquires rsp_wr_wait_lock
along the following call chain.
The CQ polling context is IB_POLL_WORKQUEUE, which does not
run in softirq.