diff options
author | Zqiang <qiang1.zhang@intel.com> | 2022-03-31 08:57:17 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2022-04-22 01:31:04 +0300 |
commit | 10a5a651e3afc9b0b381f47e8930972e4e918397 (patch) | |
tree | ac78c403db8f5343539c1035aef9a0fb73f27a69 /samples/bpf/sockex3_user.c | |
parent | 59f0c2447e2553b0918b4a9fd38763a5c0587d02 (diff) | |
download | linux-10a5a651e3afc9b0b381f47e8930972e4e918397.tar.xz |
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: Zqiang <qiang1.zhang@intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'samples/bpf/sockex3_user.c')
0 files changed, 0 insertions, 0 deletions