函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-27 16:35:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:oom_reserves_allowed

函数原型:static bool oom_reserves_allowed(struct task_struct *tsk)

返回类型:bool

参数:

类型参数名称
struct task_struct *tsk
4215  如果非tsk_is_oom_victim(tsk)则返回:false
4222  如果非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_MMU)且非test_thread_flag(s terminating due to OOM killer )则返回:false
4225  返回:true
调用者
名称描述
__gfp_pfmemalloc_flagsDistinguish requests which really need access to full memory* reserves from oom victims which can live with a portion of it