diff options
author | 2025-02-25 04:04:46 -0500 | |
---|---|---|
committer | 2025-02-25 04:04:46 -0500 | |
commit | 230804a89319a76c6e653caadc98a870877548cc (patch) | |
tree | 27113d25cebb6a5c868e7c35a29809921223f86f /kernel/workqueue.c | |
parent | RDMA/hfi1: Remove unused one_qsfp_write (diff) | |
parent | net/mlx5: Change POOL_NEXT_SIZE define value and make it global (diff) | |
download | wireguard-linux-230804a89319a76c6e653caadc98a870877548cc.tar.xz wireguard-linux-230804a89319a76c6e653caadc98a870877548cc.zip |
Merge branch 'mlx5-next' into wip/leon-for-next
This is merge of shared branch between RDMA and net-next trees.
* mlx5-next: (550 commits)
net/mlx5: Change POOL_NEXT_SIZE define value and make it global
net/mlx5: Add new health syndrome error and crr bit offset
Linux 6.14-rc3
...
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | kernel/workqueue.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 3c2c45313c88..97152f2250fe 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -3517,12 +3517,6 @@ repeat: } /* - * Put the reference grabbed by send_mayday(). @pool won't - * go away while we're still attached to it. - */ - put_pwq(pwq); - - /* * Leave this pool. Notify regular workers; otherwise, we end up * with 0 concurrency and stalling the execution. */ @@ -3532,6 +3526,12 @@ repeat: worker_detach_from_pool(rescuer); + /* + * Put the reference grabbed by send_mayday(). @pool might + * go away any time after it. + */ + put_pwq_unlocked(pwq); + raw_spin_lock_irq(&wq_mayday_lock); } |