Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:10:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mem_cgroup_oom
Proto:static enum oom_status mem_cgroup_oom(struct mem_cgroup *memcg, gfp_t mask, int order)
Type:enum oom_status
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_cgroup * | memcg | |
gfp_t | mask | |
int | order |
1771 | memcg_memory_event(memcg, MEMCG_OOM) |
1791 | If OOM-Killer disable Then |
1792 | If Not in_user_fault Then Return OOM_SKIPPED |
1795 | memcg_in_oom = memcg |
1796 | memcg_oom_gfp_mask = mask |
1797 | memcg_oom_order = order |
1799 | Return OOM_ASYNC |
1804 | locked = Check OOM-Killer is already running under our hierarchy.* If someone is running, return false. |
1806 | If locked Then mem_cgroup_oom_notify(memcg) |
1810 | If mem_cgroup_out_of_memory(memcg, mask, order) Then ret = OOM_SUCCESS |
1812 | Else ret = OOM_FAILED |
1815 | If locked Then mem_cgroup_oom_unlock(memcg) |
1818 | Return ret |
Name | Describe |
---|---|
try_charge |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |