Home
last modified time | relevance | path

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

/linux-4.1.27/Documentation/cgroups/
Dmemory.txt72 memory.use_hierarchy # set/show hierarchical account enabled
287 When use_hierarchy == 1 and a group is accounted, its children will
449 We move the stats to root (if use_hierarchy==0) or parent (if
450 use_hierarchy==1), and no change on the charge except uncharging
457 About use_hierarchy, see Section 6.
478 About use_hierarchy, see Section 6.
506 # status considering hierarchy (see memory.use_hierarchy settings)
607 that has memory.use_hierarchy enabled. If one of the ancestors goes over its
614 can be enabled by writing 1 to memory.use_hierarchy file of the root cgroup
616 # echo 1 > memory.use_hierarchy
[all …]
Dmemcg_test.txt182 echo 1 >/opt/cgroup/01/memory/use_hierarchy
Dunified-hierarchy.txt327 - use_hierarchy is on by default and the cgroup file for the flag is
/linux-4.1.27/mm/
Dmemcontrol.c286 bool use_hierarchy; member
1027 if (!root->use_hierarchy && root != root_mem_cgroup) { in mem_cgroup_iter()
1281 if (!root->use_hierarchy) in mem_cgroup_is_descendant()
3076 return mem_cgroup_from_css(css)->use_hierarchy; in mem_cgroup_hierarchy_read()
3088 if (memcg->use_hierarchy == val) in mem_cgroup_hierarchy_write()
3099 if ((!parent_memcg || !parent_memcg->use_hierarchy) && in mem_cgroup_hierarchy_write()
3102 memcg->use_hierarchy = val; in mem_cgroup_hierarchy_write()
3220 (memcg->use_hierarchy && memcg_has_children(memcg))) in memcg_activate_kmem()
3968 if (!memcg->use_hierarchy) in memcg_deactivate_kmem()
4486 memcg->use_hierarchy = parent->use_hierarchy; in mem_cgroup_css_online()
[all …]