]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - kernel/workqueue.c
workqueue: Use cpu_possible_mask instead of cpu_active_mask to break affinity
[mirror_ubuntu-jammy-kernel.git] / kernel / workqueue.c
index 9880b6c0e2721fe5c0758eda58d82c1f36576d19..1646331546eb638e23d8cfef43a52d93b4fe2d28 100644 (file)
@@ -4920,7 +4920,7 @@ static void unbind_workers(int cpu)
                raw_spin_unlock_irq(&pool->lock);
 
                for_each_pool_worker(worker, pool)
-                       WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, cpu_active_mask) < 0);
+                       WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, cpu_possible_mask) < 0);
 
                mutex_unlock(&wq_pool_attach_mutex);