Function report |
Source Code:mm\oom_kill.c |
Create Date:2022-07-28 14:06:07 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ask->mm can be NULL if the task is the exited group leader. So to* determine whether the task is using a particular mm, we examine all the* task's threads: if one of those is using this mm then this task was also* using it.
Proto:bool process_shares_mm(struct task_struct *p, struct mm_struct *mm)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | p | |
struct mm_struct * | mm |
494 | for_each_thread(p, t) |
499 | Return false |
Name | Describe |
---|---|
task_will_free_mem | Checks whether the given task is dying or exiting and likely to* release its address space. This means that all threads and processes* sharing the same mm have to be killed or exiting.* Caller has to make sure that task->mm is stable (hold task_lock or |
__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 |