Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/Documentation/admin-guide/cgroup-v1/
H A 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 …]
H A Dmemcg_test.rst228 echo 1 >/opt/cgroup/01/memory/use_hierarchy
/OK3568_Linux_fs/kernel/mm/
H A Dmemcontrol.c1157 if (!root->use_hierarchy && root != root_mem_cgroup) { in mem_cgroup_iter()
3570 return mem_cgroup_from_css(css)->use_hierarchy; in mem_cgroup_hierarchy_read()
3580 if (memcg->use_hierarchy == val) in mem_cgroup_hierarchy_write()
3591 if ((!parent_memcg || !parent_memcg->use_hierarchy) && in mem_cgroup_hierarchy_write()
3594 memcg->use_hierarchy = val; in mem_cgroup_hierarchy_write()
3794 if (!memcg->use_hierarchy) in memcg_offline_kmem()
5407 } else if (parent->use_hierarchy) { in mem_cgroup_css_alloc()
5408 memcg->use_hierarchy = true; in mem_cgroup_css_alloc()
6282 root_mem_cgroup->use_hierarchy = true; in mem_cgroup_bind()
6284 root_mem_cgroup->use_hierarchy = false; in mem_cgroup_bind()
/OK3568_Linux_fs/kernel/include/linux/
H A Dmemcontrol.h240 bool use_hierarchy; member
618 if (!root->use_hierarchy) in mem_cgroup_is_descendant()