File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3511,12 +3511,6 @@ static int rescuer_thread(void *__rescuer)
3511
3511
}
3512
3512
}
3513
3513
3514
- /*
3515
- * Put the reference grabbed by send_mayday(). @pool won't
3516
- * go away while we're still attached to it.
3517
- */
3518
- put_pwq (pwq );
3519
-
3520
3514
/*
3521
3515
* Leave this pool. Notify regular workers; otherwise, we end up
3522
3516
* with 0 concurrency and stalling the execution.
@@ -3527,6 +3521,12 @@ static int rescuer_thread(void *__rescuer)
3527
3521
3528
3522
worker_detach_from_pool (rescuer );
3529
3523
3524
+ /*
3525
+ * Put the reference grabbed by send_mayday(). @pool might
3526
+ * go away any time after it.
3527
+ */
3528
+ put_pwq_unlocked (pwq );
3529
+
3530
3530
raw_spin_lock_irq (& wq_mayday_lock );
3531
3531
}
3532
3532
You can’t perform that action at this time.
0 commit comments