Function report |
Source Code:mm\oom_kill.c |
Create Date:2022-07-28 14:06:20 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mark_oom_victim - mark the given task as OOM victim*@tsk: task to mark* Has to be called with oom_lock held and never after* oom has been disabled already.* under task_lock or operate on the current).
Proto:static void mark_oom_victim(struct task_struct *tsk)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk | >mm has to be non NULL and caller has to guarantee it is stable (either |
702 | If test_and_set_tsk_thread_flag(>mm has to be non NULL and caller has to guarantee it is stable (either, s terminating due to OOM killer ) Then Return |
719 | trace_mark_victim(pid) |
Name | Describe |
---|---|
__oom_kill_process | |
oom_kill_process | |
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 |