Home
last modified time | relevance | path

Searched refs:use_hierarchy (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/Documentation/admin-guide/cgroup-v1/
Dmemory.rst79 memory.use_hierarchy set/show hierarchical account enabled
503 We move the stats to root (if use_hierarchy==0) or parent (if
504 use_hierarchy==1), and no change on the charge except uncharging
511 About use_hierarchy, see Section 6.
535 About use_hierarchy, see Section 6.
569 status considering hierarchy (see memory.use_hierarchy settings)
684 that has memory.use_hierarchy enabled. If one of the ancestors goes over its
692 can be enabled by writing 1 to memory.use_hierarchy file of the root cgroup::
694 # echo 1 > memory.use_hierarchy
698 # echo 0 > memory.use_hierarchy
[all …]
Dmemcg_test.rst228 echo 1 >/opt/cgroup/01/memory/use_hierarchy
/Linux-v5.4/mm/
Dmemcontrol.c1043 if (!root->use_hierarchy && root != root_mem_cgroup) { in mem_cgroup_iter()
3305 return mem_cgroup_from_css(css)->use_hierarchy; in mem_cgroup_hierarchy_read()
3315 if (memcg->use_hierarchy == val) in mem_cgroup_hierarchy_write()
3326 if ((!parent_memcg || !parent_memcg->use_hierarchy) && in mem_cgroup_hierarchy_write()
3329 memcg->use_hierarchy = val; in mem_cgroup_hierarchy_write()
3547 if (!memcg->use_hierarchy) in memcg_offline_kmem()
5128 if (parent && parent->use_hierarchy) { in mem_cgroup_css_alloc()
5129 memcg->use_hierarchy = true; in mem_cgroup_css_alloc()
6021 root_mem_cgroup->use_hierarchy = true; in mem_cgroup_bind()
6023 root_mem_cgroup->use_hierarchy = false; in mem_cgroup_bind()
/Linux-v5.4/include/linux/
Dmemcontrol.h237 bool use_hierarchy; member
502 if (!root->use_hierarchy) in mem_cgroup_is_descendant()