Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dmemcontrol.h134 WARN_ON(current->memcg_oom.may_oom); in mem_cgroup_oom_enable()
135 current->memcg_oom.may_oom = 1; in mem_cgroup_oom_enable()
140 WARN_ON(!current->memcg_oom.may_oom); in mem_cgroup_oom_disable()
141 current->memcg_oom.may_oom = 0; in mem_cgroup_oom_disable()
146 return p->memcg_oom.memcg; in task_in_memcg_oom()
Dsched.h1716 } memcg_oom; member
/linux-4.1.27/mm/
Dmemcontrol.c1864 if (!current->memcg_oom.may_oom) in mem_cgroup_oom()
1881 current->memcg_oom.memcg = memcg; in mem_cgroup_oom()
1882 current->memcg_oom.gfp_mask = mask; in mem_cgroup_oom()
1883 current->memcg_oom.order = order; in mem_cgroup_oom()
1905 struct mem_cgroup *memcg = current->memcg_oom.memcg; in mem_cgroup_oom_synchronize()
1933 mem_cgroup_out_of_memory(memcg, current->memcg_oom.gfp_mask, in mem_cgroup_oom_synchronize()
1934 current->memcg_oom.order); in mem_cgroup_oom_synchronize()
1951 current->memcg_oom.memcg = NULL; in mem_cgroup_oom_synchronize()