diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-08-15 22:20:38 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-18 10:46:20 -0400 |
commit | 75215e5bb22c9c502e47398bdc35c247b1469809 (patch) | |
tree | fadbbd1eeff8a0b0d9da4bbf49b5fb2f28bb73bb | |
parent | cb93e597779e565dfeda34aede83c2565ddadc97 (diff) | |
download | op-kernel-dev-75215e5bb22c9c502e47398bdc35c247b1469809.zip op-kernel-dev-75215e5bb22c9c502e47398bdc35c247b1469809.tar.gz |
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 31661b5..ff6d7bc 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; |