函数逻辑报告 |
Source Code:mm\vmscan.c |
Create Date:2022-07-27 15:43:29 |
| Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Throttle direct reclaimers if backing storage is backed by the network* and the PFMEMALLOC reserve for the preferred node is getting dangerously* depleted. kswapd will continue to make progress and wake the processes* when the low watermark is reached.
函数原型:static bool throttle_direct_reclaim(gfp_t gfp_mask, struct zonelist *zonelist, nodemask_t *nodemask)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| gfp_t | gfp_mask | |
| struct zonelist * | zonelist | |
| nodemask_t * | nodemask |
| 3186 | 如果flags按位与I am a kernel thread 则转到:out |
| 3193 | 如果fatal_signal_pending(当前进程)则转到:out |
| 3212 | 如果zone_idx() returns 0 for the ZONE_DMA zone, 1 for the ZONE_NORMAL zone, etc.(zone)大于标记为可直接映射的内核段的普通内存域则继续下一循环 |
| 3216 | pgdat等于建立内存域和父结点之间的关联 |
| 3217 | 如果allow_direct_reclaim(pgdat)则转到:out |
| 3219 | 退出 |
| 3227 | Disable counters |
| 3241 | 转到:check_pending |
| 3248 | check_pending : |
| 3249 | 如果fatal_signal_pending(当前进程)则返回:true |
| 3252 | out : |
| 3253 | 返回:false |
| 名称 | 描述 |
|---|---|
| try_to_free_pages |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |