Function report |
Source Code:mm\oom_kill.c |
Create Date:2022-07-28 14:05:47 |
| Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rn true if the task is not adequate as candidate victim task.
Proto:static bool oom_unkillable_task(struct task_struct *p)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | p |
| 165 | If flags & I am a kernel thread Then Return true |
| 167 | Return false |
| Name | Describe |
|---|---|
| oom_badness | m_badness - heuristic function to determine which candidate task to kill*@p: task struct of which task we should calculate*@totalpages: total present RAM allowed for page allocation* The heuristic for determining which task to kill is made to be as simple |
| oom_evaluate_task | |
| dump_task | |
| out_of_memory | _of_memory - kill the "best" process when we run out of memory*@oc: pointer to struct oom_control* If we run out of memory, we have the choice between either* killing a random task (bad), letting the system crash (worse) |
| 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 |