twx-linux/tools/testing/selftests/cgroup
Mike Yuan fd06ce2ce4 selftests: test_zswap: add test for hierarchical zswap.writeback
Ensure that zswap.writeback check goes up the cgroup tree, i.e.  is
hierarchical.  Create a subcgroup which has zswap.writeback set to 1, and
the upper hierarchy's restrictions shall apply.

Link: https://lkml.kernel.org/r/20240823162506.12117-2-me@yhndnzj.com
Signed-off-by: Mike Yuan <me@yhndnzj.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Michal Koutný <mkoutny@suse.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Nhat Pham <nphamcs@gmail.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Shakeel Butt <shakeel.butt@linux.dev>
Cc: Yosry Ahmed <yosryahmed@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-09-03 21:15:47 -07:00
..
.gitignore selftests: cgroup: Add basic tests for pids controller 2024-05-26 08:45:10 -10:00
cgroup_util.c mm, memcg: cg2 memory{.swap,}.peak write tests 2024-09-01 20:25:53 -07:00
cgroup_util.h mm, memcg: cg2 memory{.swap,}.peak write tests 2024-09-01 20:25:53 -07:00
config mm: remove CONFIG_MEMCG_KMEM 2024-07-10 12:14:54 -07:00
Makefile selftests: cgroup: Add basic tests for pids controller 2024-05-26 08:45:10 -10:00
memcg_protection.m selftests: memcg: adjust expected reclaim values of protected cgroups 2022-05-27 09:33:45 -07:00
test_core.c Revert "selftests/cgroup: Drop define _GNU_SOURCE" 2024-05-20 09:00:15 -06:00
test_cpu.c Revert "selftests/cgroup: Drop define _GNU_SOURCE" 2024-05-20 09:00:15 -06:00
test_cpuset_prs.sh selftest/cgroup: Update test_cpuset_prs.sh to match changes 2024-06-19 07:37:38 -10:00
test_cpuset_v1_hp.sh cgroup/cpuset: Add test_cpuset_v1_hp.sh 2024-04-08 07:39:38 -10:00
test_cpuset.c selftests: cgroup: skip test_cgcore_lesser_ns_open when cgroup2 mounted without nsdelegate 2024-04-03 09:42:13 -10:00
test_freezer.c selftests: cgroup: skip test_cgcore_lesser_ns_open when cgroup2 mounted without nsdelegate 2024-04-03 09:42:13 -10:00
test_hugetlb_memcg.c Revert "selftests/cgroup: Drop define _GNU_SOURCE" 2024-05-20 09:00:15 -06:00
test_kill.c selftests: cgroup: skip test_cgcore_lesser_ns_open when cgroup2 mounted without nsdelegate 2024-04-03 09:42:13 -10:00
test_kmem.c Revert "selftests/cgroup: Drop define _GNU_SOURCE" 2024-05-20 09:00:15 -06:00
test_memcontrol.c mm, memcg: cg2 memory{.swap,}.peak write tests 2024-09-01 20:25:53 -07:00
test_pids.c selftests: cgroup: Add basic tests for pids controller 2024-05-26 08:45:10 -10: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: test_zswap: add test for hierarchical zswap.writeback 2024-09-03 21:15: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