函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:35:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Distinguish requests which really need access to full memory* reserves from oom victims which can live with a portion of it
函数原型:static inline int __gfp_pfmemalloc_flags(gfp_t gfp_mask)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
gfp_t | gfp_mask |
4234 | 如果此条件成立可能性小(为编译器优化)(gfp_mask & __GFP_NOMEMALLOC)则返回:0 |
4236 | 如果gfp_mask按位与__GFP_MEMALLOC则返回:don't check watermarks at all |
4238 | 如果in_serving_softirq()且flags按位与Allocating memory 则返回:don't check watermarks at all |
4240 | 如果非in_interrupt()则 |
4241 | 如果flags按位与Allocating memory 则返回:don't check watermarks at all |
4247 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |