]> Git Repo - linux.git/commit
cm: Don't allocate ib_cm workqueue with WQ_MEM_RECLAIM
authorSagi Grimberg <[email protected]>
Tue, 15 Aug 2017 19:20:37 +0000 (22:20 +0300)
committerDoug Ledford <[email protected]>
Fri, 18 Aug 2017 14:46:20 +0000 (10:46 -0400)
commitcb93e597779e565dfeda34aede83c2565ddadc97
treea2678a89f87468553f36bb32594dffbe245db78f
parentec06530e765adfdb3a0f8a4f9486a18dcfef6218
cm: Don't allocate ib_cm workqueue with WQ_MEM_RECLAIM

create_workqueue always creates the workqueue with WQ_MEM_RECLAIM
and silences a flush dependency warn for WQ_LEGACY. Instead, we
want to keep the warn in case the allocator tries to flush the
cm workqueue because its very likely that cm work execution will
yield memory allocations (for example cm connection requests).

Reported-by: Steve Wise <[email protected]>
Reviewed-by: Steve Wise <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/core/cm.c
This page took 0.053616 seconds and 4 git commands to generate.