linux/tools/testing/selftests/cgroup
Joe Simmons-Talbott a2703c2980 selftests/cgroup: Adjust cpu test duration based on HZ
For lower HZ values a quota of 1000us is much lower than the amount
of microseconds per tick which makes the tests test_cpucg_max and
test_cpugc_max_nested fail. Increase the test duration to accommodate
for lower HZ values.

Link: https://lore.kernel.org/lkml/20260625203307.1114538-1-joest@redhat.com/
Signed-off-by: Joe Simmons-Talbott <joest@redhat.com>
Acked-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2026-06-29 08:52:56 -10:00
..
lib selftests/cgroup: Adjust cpu test duration based on HZ 2026-06-29 08:52:56 -10:00
.gitignore selftests: cgroup: Add basic tests for pids controller 2024-05-26 08:45:10 -10:00
config mm: remove CONFIG_MEMCG_KMEM 2024-07-10 12:14:54 -07:00
Makefile cgroup: selftests: Move cgroup_util into its own library 2025-05-16 11:45:15 -07:00
memcg_protection.m selftests: memcg: adjust expected reclaim values of protected cgroups 2022-05-27 09:33:45 -07:00
test_core.c selftests/cgroup: rename PAGE_SIZE to BUF_SIZE in cgroup_util 2026-05-28 21:04:46 -07:00
test_cpu.c selftests/cgroup: Adjust cpu test duration based on HZ 2026-06-29 08:52:56 -10:00
test_cpuset_prs.sh cgroup/cpuset: Avoid unnecessary cpus & mems update in cpuset_hotplug_update_tasks() 2026-06-24 09:41:37 -10:00
test_cpuset_v1_base.sh selftests/cgroup: Fix string comparison in write_test 2026-05-10 15:54:12 -10:00
test_cpuset_v1_hp.sh selftests/cgroup: use bash in test_cpuset_v1_hp.sh 2025-02-04 09:36:54 -10:00
test_cpuset.c Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
test_freezer.c mm.git review status for mm-hotfixes-stable..mm-stable 2026-06-19 10:14:34 -07:00
test_hugetlb_memcg.c selftests/cgroup: enable memory controller in hugetlb memcg test 2026-05-22 06:20:43 -10:00
test_kill.c selftests/cgroup: Don't require synchronous populated update on task exit 2026-03-24 10:21:57 -10:00
test_kmem.c selftests/cgroup: include slab in test_percpu_basic memory check 2026-05-28 21:05:07 -07:00
test_memcontrol.c mm.git review status for mm-hotfixes-stable..mm-stable 2026-06-19 10:14:34 -07:00
test_pids.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
test_stress.sh kseltest/cgroup: Make test_stress.sh work if run interactively 2022-05-13 09:33:21 -10:00
test_zswap.c selftests/cgroup: test_zswap: wait for asynchronous writeback 2026-05-28 21:04:47 -07:00
wait_inotify.c kselftest/cgroup: Add cpuset v2 partition root state test 2022-09-04 10:47:28 -10:00
with_stress.sh selftests: cgroup: Run test_core under interfering stress 2019-10-07 07:11:54 -07:00