projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb93e59
)
iwcm: Don't allocate iwcm workqueue with WQ_MEM_RECLAIM
author
Sagi Grimberg
<
[email protected]
>
Tue, 15 Aug 2017 19:20:38 +0000
(22:20 +0300)
committer
Doug Ledford
<
[email protected]
>
Fri, 18 Aug 2017 14:46:20 +0000
(10:46 -0400)
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]
>
drivers/infiniband/core/iwcm.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/core/iwcm.c
b/drivers/infiniband/core/iwcm.c
index 31661b5c1743649b47ba6b398c16b327e53a64ed..ff6d7bc44c1f2ea8a36cbc2122abe22d20658c87 100644
(file)
--- 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;