Home
last modified time | relevance | path

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

/linux-4.4.14/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.
507 # status considering hierarchy (see memory.use_hierarchy settings)
608 that has memory.use_hierarchy enabled. If one of the ancestors goes over its
615 can be enabled by writing 1 to memory.use_hierarchy file of the root cgroup
617 # echo 1 > memory.use_hierarchy
[all …]
Dmemcg_test.txt182 echo 1 >/opt/cgroup/01/memory/use_hierarchy
Dunified-hierarchy.txt513 - use_hierarchy is on by default and the cgroup file for the flag is
/linux-4.4.14/include/linux/
Dmemcontrol.h206 bool use_hierarchy; member
328 if (!root->use_hierarchy) in mem_cgroup_is_descendant()
/linux-4.4.14/mm/
Dmemcontrol.c890 if (!root->use_hierarchy && root != root_mem_cgroup) { in mem_cgroup_iter()
2780 return mem_cgroup_from_css(css)->use_hierarchy; in mem_cgroup_hierarchy_read()
2792 if (memcg->use_hierarchy == val) in mem_cgroup_hierarchy_write()
2803 if ((!parent_memcg || !parent_memcg->use_hierarchy) && in mem_cgroup_hierarchy_write()
2806 memcg->use_hierarchy = val; in mem_cgroup_hierarchy_write()
2921 (memcg->use_hierarchy && memcg_has_children(memcg))) in memcg_activate_kmem()
3669 if (!memcg->use_hierarchy) in memcg_deactivate_kmem()
4288 memcg->use_hierarchy = parent->use_hierarchy; in mem_cgroup_css_online()
4292 if (parent->use_hierarchy) { in mem_cgroup_css_online()
5069 root_mem_cgroup->use_hierarchy = true; in mem_cgroup_bind()
[all …]