diff options
| author | Waiman Long <longman@redhat.com> | 2025-11-04 23:38:48 -0500 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2025-11-05 07:00:33 -1000 |
| commit | be04e96ba911fac1dc4c7f89ebb42018d167043f (patch) | |
| tree | 65a518545a8b5aaba5e7acc2dfebed12a9439db2 /tools/lib/python/kdoc/kdoc_parser.py | |
| parent | b1034a690129acd8995137bf4462470b4a2aa690 (diff) | |
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 'tools/lib/python/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
