• R
    cgroup: keep track of number of descent cgroups · 0679dee0
    Roman Gushchin 提交于
    Keep track of the number of online and dying descent cgroups.
    
    This data will be used later to add an ability to control cgroup
    hierarchy (limit the depth and the number of descent cgroups)
    and display hierarchy stats.
    Signed-off-by: NRoman Gushchin <guro@fb.com>
    Suggested-by: NTejun Heo <tj@kernel.org>
    Signed-off-by: NTejun Heo <tj@kernel.org>
    Cc: Zefan Li <lizefan@huawei.com>
    Cc: Waiman Long <longman@redhat.com>
    Cc: Johannes Weiner <hannes@cmpxchg.org>
    Cc: kernel-team@fb.com
    Cc: cgroups@vger.kernel.org
    Cc: linux-doc@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    0679dee0
cgroup.c 148.7 KB