Home
last modified time | relevance | path

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

/Linux-v4.19/Documentation/cgroup-v1/
Dmemory.txt72 memory.use_hierarchy # set/show hierarchical account enabled
441 We move the stats to root (if use_hierarchy==0) or parent (if
442 use_hierarchy==1), and no change on the charge except uncharging
449 About use_hierarchy, see Section 6.
470 About use_hierarchy, see Section 6.
499 # status considering hierarchy (see memory.use_hierarchy settings)
600 that has memory.use_hierarchy enabled. If one of the ancestors goes over its
607 can be enabled by writing 1 to memory.use_hierarchy file of the root cgroup
609 # echo 1 > memory.use_hierarchy
613 # echo 0 > memory.use_hierarchy
[all …]
Dmemcg_test.txt182 echo 1 >/opt/cgroup/01/memory/use_hierarchy
/Linux-v4.19/include/linux/
Dmemcontrol.h226 bool use_hierarchy; member
462 if (!root->use_hierarchy) in mem_cgroup_is_descendant()
/Linux-v4.19/mm/
Dmemcontrol.c928 if (!root->use_hierarchy && root != root_mem_cgroup) { in mem_cgroup_iter()
2923 return mem_cgroup_from_css(css)->use_hierarchy; in mem_cgroup_hierarchy_read()
2933 if (memcg->use_hierarchy == val) in mem_cgroup_hierarchy_write()
2944 if ((!parent_memcg || !parent_memcg->use_hierarchy) && in mem_cgroup_hierarchy_write()
2947 memcg->use_hierarchy = val; in mem_cgroup_hierarchy_write()
3127 if (!memcg->use_hierarchy) in memcg_offline_kmem()
4491 if (parent && parent->use_hierarchy) { in mem_cgroup_css_alloc()
4492 memcg->use_hierarchy = true; in mem_cgroup_css_alloc()
5351 root_mem_cgroup->use_hierarchy = true; in mem_cgroup_bind()
5353 root_mem_cgroup->use_hierarchy = false; in mem_cgroup_bind()