diff options
author | Zqiang <qiang.zhang1211@gmail.com> | 2021-11-15 13:15:46 +0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-11-30 17:25:20 -0800 |
commit | c2cf0767e98eb4487444e5c7ebba491a866811ce (patch) | |
tree | a1e3a20af47a3f8a5cd599c8fa4c4e9babab257c /include/linux/openvswitch.h | |
parent | 17ea3718824912e773b0fd78579694b2e75ee597 (diff) |
rcu: Avoid running boost kthreads on isolated CPUs
When the boost kthreads are created on systems with nohz_full CPUs,
the cpus_allowed_ptr is set to housekeeping_cpumask(HK_FLAG_KTHREAD).
However, when the rcu_boost_kthread_setaffinity() is called, the original
affinity will be changed and these kthreads can subsequently run on
nohz_full CPUs. This commit makes rcu_boost_kthread_setaffinity()
restrict these boost kthreads to housekeeping CPUs.
Signed-off-by: Zqiang <qiang.zhang1211@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'include/linux/openvswitch.h')
0 files changed, 0 insertions, 0 deletions