Home
last modified time | relevance | path

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

/Linux-v5.10/Documentation/admin-guide/cgroup-v1/
Dmemory.rst79 memory.use_hierarchy set/show hierarchical account enabled
498 We move the stats to root (if use_hierarchy==0) or parent (if
499 use_hierarchy==1), and no change on the charge except uncharging
506 About use_hierarchy, see Section 6.
530 About use_hierarchy, see Section 6.
564 status considering hierarchy (see memory.use_hierarchy settings)
679 that has memory.use_hierarchy enabled. If one of the ancestors goes over its
687 can be enabled by writing 1 to memory.use_hierarchy file of the root cgroup::
689 # echo 1 > memory.use_hierarchy
693 # echo 0 > memory.use_hierarchy
[all …]
Dmemcg_test.rst228 echo 1 >/opt/cgroup/01/memory/use_hierarchy
/Linux-v5.10/mm/
Dmemcontrol.c1160 if (!root->use_hierarchy && root != root_mem_cgroup) { in mem_cgroup_iter()
3536 return mem_cgroup_from_css(css)->use_hierarchy; in mem_cgroup_hierarchy_read()
3546 if (memcg->use_hierarchy == val) in mem_cgroup_hierarchy_write()
3557 if ((!parent_memcg || !parent_memcg->use_hierarchy) && in mem_cgroup_hierarchy_write()
3560 memcg->use_hierarchy = val; in mem_cgroup_hierarchy_write()
3760 if (!memcg->use_hierarchy) in memcg_offline_kmem()
5358 } else if (parent->use_hierarchy) { in mem_cgroup_css_alloc()
5359 memcg->use_hierarchy = true; in mem_cgroup_css_alloc()
6233 root_mem_cgroup->use_hierarchy = true; in mem_cgroup_bind()
6235 root_mem_cgroup->use_hierarchy = false; in mem_cgroup_bind()
/Linux-v5.10/include/linux/
Dmemcontrol.h240 bool use_hierarchy; member
592 if (!root->use_hierarchy) in mem_cgroup_is_descendant()