• R
    kselftests: cgroup: add freezer mkdir test · 44e9d308
    Roman Gushchin 提交于
    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: NRoman Gushchin <guro@fb.com>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: Shuah Khan <shuah@kernel.org>
    Signed-off-by: NTejun Heo <tj@kernel.org>
    44e9d308
test_freezer.c 16.1 KB