mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
RDMA/addr: Change addr_wq back to unordered workqueue
Commit5fff41e1f8("IB/core: Fix race condition in resolving IP to MAC") changed the workqueue "addr_wq" to a single-threaded wq. Commite19c0d2378("RDMA/rdma_cm: Remove process_req and timer sorting") eliminated global work and started using per-req work. Now we no longer have the race, change "addr_wq" back to multi-threaded workqueue to speed up multiple addr resolutions. Signed-off-by: Surabhi Gogte <sgogte@purestorage.com> Link: https://patch.msgid.link/20260410001549.3149060-1-sgogte@purestorage.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
This commit is contained in:
parent
7fd2df204f
commit
dd2403fe14
|
|
@ -850,7 +850,7 @@ static struct notifier_block nb = {
|
|||
|
||||
int addr_init(void)
|
||||
{
|
||||
addr_wq = alloc_ordered_workqueue("ib_addr", 0);
|
||||
addr_wq = alloc_workqueue("ib_addr", WQ_UNBOUND, 0);
|
||||
if (!addr_wq)
|
||||
return -ENOMEM;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user