Commit dd64c87
workqueue: Fix missed pwq_release_worker creation in wq_cpu_intensive_thresh_init()
Currently, if the wq_cpu_intensive_thresh_us is set to specific
value, will cause the wq_cpu_intensive_thresh_init() early exit
and missed creation of pwq_release_worker. this commit therefore
create the pwq_release_worker in advance before checking the
wq_cpu_intensive_thresh_us.
Signed-off-by: Zqiang <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Fixes: 967b494 ("workqueue: Use a kthread_worker to release pool_workqueues")1 parent a682821 commit dd64c87
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6602 | 6602 | | |
6603 | 6603 | | |
6604 | 6604 | | |
| 6605 | + | |
| 6606 | + | |
| 6607 | + | |
6605 | 6608 | | |
6606 | 6609 | | |
6607 | 6610 | | |
6608 | 6611 | | |
6609 | | - | |
6610 | | - | |
6611 | | - | |
6612 | 6612 | | |
6613 | 6613 | | |
6614 | 6614 | | |
| |||
0 commit comments