summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2026-01-12 11:00:17 -0500
committerTejun Heo <tj@kernel.org>2026-01-12 09:01:40 -1000
commit18bc2425a877c45b59c0972df30afb46084f8816 (patch)
treea2f22231136e3ff4348db527b6476e02d9a8ca6e /include/linux
parent269679bdd17cdd4dc3f1f2448f76554932d7de3f (diff)
cgroup/cpuset: Streamline rm_siblings_excl_cpus()
If exclusive_cpus is set, effective_xcpus must be a subset of exclusive_cpus. Currently, rm_siblings_excl_cpus() checks both exclusive_cpus and effective_xcpus consecutively. It is simpler to check only exclusive_cpus if non-empty or just effective_xcpus otherwise. 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 'include/linux')
0 files changed, 0 insertions, 0 deletions