Commit 75215e5b authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Doug Ledford

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: default avatarSteve Wise <swise@opengridcomputing.com>
Reviewed-by: default avatarSteve Wise <swise@opengridcomputing.com>
Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent cb93e597
...@@ -1181,7 +1181,7 @@ static int __init iw_cm_init(void) ...@@ -1181,7 +1181,7 @@ static int __init iw_cm_init(void)
if (ret) if (ret)
pr_err("iw_cm: couldn't register netlink callbacks\n"); 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) if (!iwcm_wq)
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment