diff options
| author | Guopeng Zhang <zhangguopeng@kylinos.cn> | 2026-08-24 10:01:38 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-08-24 07:01:15 -1000 |
| commit | 2bf404b1bd94f50747443234c0a4a5e18e2569bf (patch) | |
| tree | b33d4cd08369e6569cc261a765ad913fbc7fa871 /scripts/Makefile.thinlto | |
| parent | 909a3f0e9d8b0d8001cf6e99808f88eca8e44328 (diff) | |
| download | linux-next-2bf404b1bd94f50747443234c0a4a5e18e2569bf.tar.gz linux-next-2bf404b1bd94f50747443234c0a4a5e18e2569bf.zip | |
selftests/cgroup: Drop invalid boot isolation comparison
check_isolcpus() clears ISOLCPUS before rebuilding it from sched domain
data. Comparing that empty value with
/sys/devices/system/cpu/isolated makes the test fail whenever
isolcpus=domain is present.
That sysfs file is generated from HK_TYPE_DOMAIN_BOOT and does not change
when cpuset updates HK_TYPE_DOMAIN. Re-reading it cannot validate dynamic
housekeeping updates. The cpuset.cpus.isolated and sched domain checks
already cover the two dynamic interfaces, so remove the invalid comparison.
This can be reproduced on a kernel booted with isolcpus=domain,15:
# tools/testing/selftests/cgroup/test_cpuset_prs.sh
The test fails its first state-matrix isolation check before the change and
continues past that check afterward.
Fixes: 6df415aa46ec ("cgroup/cpuset: Defer housekeeping_update() calls from CPU hotplug to workqueue")
Signed-off-by: Guopeng Zhang <zhangguopeng@kylinos.cn>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
