Home
last modified time | relevance | path

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

/linux-2.6.39/mm/
Dmemcontrol.c1390 mem_cgroup_select_victim(struct mem_cgroup *root_mem) in mem_cgroup_select_victim() argument
1396 if (!root_mem->use_hierarchy) { in mem_cgroup_select_victim()
1397 css_get(&root_mem->css); in mem_cgroup_select_victim()
1398 ret = root_mem; in mem_cgroup_select_victim()
1403 nextid = root_mem->last_scanned_child + 1; in mem_cgroup_select_victim()
1404 css = css_get_next(&mem_cgroup_subsys, nextid, &root_mem->css, in mem_cgroup_select_victim()
1413 root_mem->last_scanned_child = 0; in mem_cgroup_select_victim()
1415 root_mem->last_scanned_child = found; in mem_cgroup_select_victim()
1433 static int mem_cgroup_hierarchical_reclaim(struct mem_cgroup *root_mem, in mem_cgroup_hierarchical_reclaim() argument
1446 excess = res_counter_soft_limit_excess(&root_mem->res) >> PAGE_SHIFT; in mem_cgroup_hierarchical_reclaim()
[all …]