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

workqueue: Restrict kworker in the offline CPU pool running on housekeeping CPUs



When a CPU is going offline, all workers on the CPU's pool will have their
cpus_allowed cleared to cpu_possible_mask and can run on any CPUs including
the isolated ones. Instead, set cpus_allowed to wq_unbound_cpumask so that
the can avoid isolated CPUs.

Signed-off-by: default avatarZqiang <qiang1.zhang@intel.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 59f0c244
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