Function report |
Source Code:mm\oom_kill.c |
Create Date:2022-07-28 14:06:21 |
| Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:m_killer_disable - disable OOM killer*@timeout: maximum timeout to wait for oom victims in jiffies* Forces all page allocations to fail rather than trigger OOM killer
Proto:bool oom_killer_disable(signed long timeout)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| signed long | timeout |
| 765 | If mutex_lock_killable( & Serializes oom killer invocations (out_of_memory()) from all contexts to* prevent from over eager oom killing (e) Then Return false |
| 767 | oom_killer_disabled = true |
| 772 | If ret <= 0 Then |
| 774 | Return false |
| 776 | pr_info("OOM killer disabled.\n") |
| 778 | Return true |
| 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 |