Skip to content
  • Roman Gushchin's avatar
    kselftests: cgroup: add freezer mkdir test · 44e9d308
    Roman Gushchin authored
    
    
    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: default avatarRoman Gushchin <guro@fb.com>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: Shuah Khan <shuah@kernel.org>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    44e9d308