Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:05:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:oom_reserves_allowed
Proto:static bool oom_reserves_allowed(struct task_struct *tsk)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tsk |
| 4215 | If Not tsk_is_oom_victim(tsk) Then Return false |
| 4222 | If Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_MMU) && Not test_thread_flag(s terminating due to OOM killer ) Then Return false |
| 4225 | Return true |
| Name | Describe |
|---|---|
| __gfp_pfmemalloc_flags | Distinguish requests which really need access to full memory* reserves from oom victims which can live with a portion of it |
| 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 |