Function report |
Source Code:mm\oom_kill.c |
Create Date:2022-07-28 14:05:46 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The process p may have detached its own ->mm while exiting or through* use_mm(), but one or more of its subthreads may still have a valid* pointer. Return p, or any of its subthreads with a valid ->mm, with* task_lock() held.
Proto:struct task_struct *find_lock_task_mm(struct task_struct *p)
Type:struct task_struct
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | p |
138 | for_each_thread(p, t) |
140 | If Value is more likely to compile time(mm) Then Go to found |
142 | task_unlock(t) |
144 | t = NULL |
145 | found : |
148 | Return t |
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 |
dump_task | |
__oom_kill_process |
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 |