aboutsummaryrefslogtreecommitdiffstats
path: root/rust/kernel
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2025-11-04 23:38:48 -0500
committerTejun Heo <tj@kernel.org>2025-11-05 07:00:33 -1000
commitbe04e96ba911fac1dc4c7f89ebb42018d167043f (patch)
tree65a518545a8b5aaba5e7acc2dfebed12a9439db2 /rust/kernel
parentcgroup/cpuset: Ensure domain isolated CPUs stay in root or isolated partition (diff)
downloadlinux-be04e96ba911fac1dc4c7f89ebb42018d167043f.tar.gz
linux-be04e96ba911fac1dc4c7f89ebb42018d167043f.zip
cgroup/cpuset: Globally track isolated_cpus update
The current cpuset code passes a local isolcpus_updated flag around in a number of functions to determine if external isolation related cpumasks like wq_unbound_cpumask should be updated. It is a bit cumbersome and makes the code more complex. Simplify the code by using a global boolean flag "isolated_cpus_updating" to track this. This flag will be set in isolated_cpus_update() and cleared in update_isolation_cpumasks(). No functional change is expected. Signed-off-by: Waiman Long <longman@redhat.com> Reviewed-by: Chen Ridong <chenridong@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions