mirror of
https://github.com/torvalds/linux.git
synced 2025-11-12 22:49:37 +02:00
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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| cgroup_util.c | ||
| cgroup_util.h | ||
| Makefile | ||
| test_core.c | ||
| test_freezer.c | ||
| test_memcontrol.c | ||