Skip to content

Commit

Permalink
iwcm: Don't allocate iwcm workqueue with WQ_MEM_RECLAIM
Browse files Browse the repository at this point in the history
Its very likely that iwcm work execution will yield memory
allocations (for example cm connection request).

Reported-by: Steve Wise <[email protected]>
Reviewed-by: Steve Wise <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
  • Loading branch information
sagigrimberg authored and dledford committed Aug 18, 2017
1 parent cb93e59 commit 75215e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/core/iwcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 75215e5

Please sign in to comment.