OpenCloudOS-Kernel/tools/testing/selftests/cgroup
Roman Gushchin 44e9d308a5 kselftests: cgroup: add freezer mkdir test
Add a new cgroup freezer selftest, which checks that if a cgroup is
frozen, their new child cgroups will properly inherit the frozen
state.

It creates a parent cgroup, freezes it, creates a child cgroup
and populates it with a dummy process. Then it checks that both
parent and child cgroup are frozen.

Signed-off-by: Roman Gushchin <guro@fb.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
2019-09-12 14:04:40 -07:00
..
.gitignore kselftests: cgroup: add freezer controller self-tests 2019-04-19 11:26:49 -07:00
Makefile kselftests: cgroup: add freezer controller self-tests 2019-04-19 11:26:49 -07:00
cgroup_util.c cgroup: kselftest: relax fs_spec checks 2019-08-03 07:02:01 -07:00
cgroup_util.h kselftests: cgroup: add freezer controller self-tests 2019-04-19 11:26:49 -07:00
test_core.c kselftest/cgroup: fix incorrect test_core skip 2019-05-30 08:19:17 -06:00
test_freezer.c kselftests: cgroup: add freezer mkdir test 2019-09-12 14:04:40 -07:00
test_memcontrol.c kselftest/cgroup: fix unexpected testing failure on test_memcontrol 2019-05-30 08:19:17 -06:00