Skip to content

IB/rdmavt: cq ktrhead worker fix and API update

Petr Mladek linux-rdma lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2IB/rdmavt: Avoid queuing work into a destroyed cq kthread workerdrivers/infiniband/sw/rdmavt/cq.c+16 -140 replies
2/2IB/rdmavt: Handle the kthread worker using the new APIdrivers/infiniband/sw/rdmavt/cq.c+11 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] IB/rdmavt: cq ktrhead worker fix and API update

The kthread worker API has been improved in 4.9-rc1. The 2nd patch uses the new functions and simplifies the kthread worker creation and destroying.

I have found a possible race when working on the API conversion. A proposed fix is in the 1st patch.

Both changes are compile tested only. I did not find an easy way how to test them at runtime.

Petr Mladek (2):
IB/rdmavt: Avoid queuing work into a destroyed cq kthread worker IB/rdmavt: Handle the kthread worker using the new API

 drivers/infiniband/sw/rdmavt/cq.c | 64 +++++++++++++++++----------------------
 1 file changed, 27 insertions(+), 37 deletions(-)
Signature · 1 line
1.8.5.6