diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-08-15 21:20:38 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-18 16:46:20 +0200 |
commit | 75215e5bb22c9c502e47398bdc35c247b1469809 (patch) | |
tree | fadbbd1eeff8a0b0d9da4bbf49b5fb2f28bb73bb | |
parent | cm: Don't allocate ib_cm workqueue with WQ_MEM_RECLAIM (diff) | |
download | linux-75215e5bb22c9c502e47398bdc35c247b1469809.tar.xz linux-75215e5bb22c9c502e47398bdc35c247b1469809.zip |
iwcm: Don't allocate iwcm workqueue with WQ_MEM_RECLAIM
Its very likely that iwcm work execution will yield memory
allocations (for example cm connection request).
Reported-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r-- | drivers/infiniband/core/iwcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/iwcm.c b/drivers/infiniband/core/iwcm.c index 31661b5c1743..ff6d7bc44c1f 100644 --- a/drivers/infiniband/core/iwcm.c +++ b/drivers/infiniband/core/iwcm.c @@ -1181,7 +1181,7 @@ static int __init iw_cm_init(void) if (ret) pr_err("iw_cm: couldn't register netlink callbacks\n"); - iwcm_wq = alloc_ordered_workqueue("iw_cm_wq", WQ_MEM_RECLAIM); + iwcm_wq = alloc_ordered_workqueue("iw_cm_wq", 0); if (!iwcm_wq) return -ENOMEM; |