Commit 62408c1e authored by Lai Jiangshan's avatar Lai Jiangshan Committed by Tejun Heo
Browse files

workqueue/hotplug: remove the workaround in rebind_workers()

Since the cpu/hotplug refactoring, DOWN_FAILED is never called without
preceding DOWN_PREPARE making the workaround unnecessary.  Remove it.
Signed-off-by: default avatarLai Jiangshan <>
Signed-off-by: default avatarTejun Heo <>
parent e8b3f8db
......@@ -4589,16 +4589,6 @@ static void rebind_workers(struct worker_pool *pool)
* XXX: CPU hotplug notifiers are weird and can call DOWN_FAILED
* w/o preceding DOWN_PREPARE. Work around it. CPU hotplug is
* being reworked and this can go away in time.
if (!(pool->flags & POOL_DISASSOCIATED)) {
pool->flags &= ~POOL_DISASSOCIATED;
for_each_pool_worker(worker, pool) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment