Home
last modified time | relevance | path

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

/Linux-v5.4/mm/
Doom_kill.c954 struct mem_cgroup *oom_group; in oom_kill_process() local
981 oom_group = mem_cgroup_get_oom_group(victim, oc->memcg); in oom_kill_process()
988 if (oom_group) { in oom_kill_process()
989 mem_cgroup_print_oom_group(oom_group); in oom_kill_process()
990 mem_cgroup_scan_tasks(oom_group, oom_kill_memcg_member, in oom_kill_process()
992 mem_cgroup_put(oom_group); in oom_kill_process()
Dmemcontrol.c2019 struct mem_cgroup *oom_group = NULL; in mem_cgroup_get_oom_group() local
2040 if (memcg->oom_group) in mem_cgroup_get_oom_group()
2041 oom_group = memcg; in mem_cgroup_get_oom_group()
2047 if (oom_group) in mem_cgroup_get_oom_group()
2048 css_get(&oom_group->css); in mem_cgroup_get_oom_group()
2052 return oom_group; in mem_cgroup_get_oom_group()
6217 seq_printf(m, "%d\n", memcg->oom_group); in memory_oom_group_show()
6226 int ret, oom_group; in memory_oom_group_write() local
6232 ret = kstrtoint(buf, 0, &oom_group); in memory_oom_group_write()
6236 if (oom_group != 0 && oom_group != 1) in memory_oom_group_write()
[all …]
/Linux-v5.4/include/linux/
Dmemcontrol.h242 bool oom_group; member