mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 07:37:36 +07:00
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>
This commit is contained in:
parent
cb93e59777
commit
75215e5bb2
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user