Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
Doom_kill.c1013 struct mem_cgroup *oom_group; in oom_kill_process() local
1040 oom_group = mem_cgroup_get_oom_group(victim, oc->memcg); in oom_kill_process()
1047 if (oom_group) { in oom_kill_process()
1048 memcg_memory_event(oom_group, MEMCG_OOM_GROUP_KILL); in oom_kill_process()
1049 mem_cgroup_print_oom_group(oom_group); in oom_kill_process()
1050 mem_cgroup_scan_tasks(oom_group, oom_kill_memcg_member, in oom_kill_process()
1052 mem_cgroup_put(oom_group); in oom_kill_process()
Dmemcontrol.c2047 struct mem_cgroup *oom_group = NULL; in mem_cgroup_get_oom_group() local
2076 if (READ_ONCE(memcg->oom_group)) in mem_cgroup_get_oom_group()
2077 oom_group = memcg; in mem_cgroup_get_oom_group()
2083 if (oom_group) in mem_cgroup_get_oom_group()
2084 css_get(&oom_group->css); in mem_cgroup_get_oom_group()
2088 return oom_group; in mem_cgroup_get_oom_group()
6663 seq_printf(m, "%d\n", READ_ONCE(memcg->oom_group)); in memory_oom_group_show()
6672 int ret, oom_group; in memory_oom_group_write() local
6678 ret = kstrtoint(buf, 0, &oom_group); in memory_oom_group_write()
6682 if (oom_group != 0 && oom_group != 1) in memory_oom_group_write()
[all …]
/linux-6.6.21/include/linux/
Dmemcontrol.h242 bool oom_group; member