Skip to content
Commit dd64c873 authored by Zqiang's avatar Zqiang Committed by Tejun Heo
Browse files

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: default avatarZqiang <qiang.zhang1211@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Fixes: 967b494e ("workqueue: Use a kthread_worker to release pool_workqueues")
parent a6828214
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment