Function report |
Source Code:mm\oom_kill.c |
Create Date:2022-07-28 14:06:18 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:wake_oom_reaper
Proto:static void wake_oom_reaper(struct task_struct *tsk)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk |
661 | If st_and_set_bit - Set a bit and return its old value*@nr: Bit to set*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier). Then Return |
664 | get_task_struct(tsk) |
666 | spin_lock( & oom_reaper_lock) |
668 | oom_reaper_list = tsk |
669 | spin_unlock( & oom_reaper_lock) |
670 | trace_wake_reaper(pid) |
671 | wake_up( & oom_reaper_wait) |
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 |