Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Doom_kill.c1016 struct mem_cgroup *oom_group; in oom_kill_process() local
1043 oom_group = mem_cgroup_get_oom_group(victim, oc->memcg); in oom_kill_process()
1050 if (oom_group) { in oom_kill_process()
1051 memcg_memory_event(oom_group, MEMCG_OOM_GROUP_KILL); in oom_kill_process()
1052 mem_cgroup_print_oom_group(oom_group); in oom_kill_process()
1053 mem_cgroup_scan_tasks(oom_group, oom_kill_memcg_member, in oom_kill_process()
1055 mem_cgroup_put(oom_group); in oom_kill_process()
Dmemcontrol.c2027 struct mem_cgroup *oom_group = NULL; in mem_cgroup_get_oom_group() local
2056 if (memcg->oom_group) in mem_cgroup_get_oom_group()
2057 oom_group = memcg; in mem_cgroup_get_oom_group()
2063 if (oom_group) in mem_cgroup_get_oom_group()
2064 css_get(&oom_group->css); in mem_cgroup_get_oom_group()
2068 return oom_group; in mem_cgroup_get_oom_group()
6556 seq_printf(m, "%d\n", memcg->oom_group); in memory_oom_group_show()
6565 int ret, oom_group; in memory_oom_group_write() local
6571 ret = kstrtoint(buf, 0, &oom_group); in memory_oom_group_write()
6575 if (oom_group != 0 && oom_group != 1) in memory_oom_group_write()
[all …]
/linux-6.1.9/include/linux/
Dmemcontrol.h239 bool oom_group; member