函数逻辑报告 |
Source Code:mm\vmscan.c |
Create Date:2022-07-27 15:43:44 |
| Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:kswapd shrinks a node of pages that are at or below the highest usable* zone that is currently unbalanced.* Returns true if kswapd scanned at least the requested number of pages to* reclaim or if the lack of progress was due to pages under writeback.
函数原型:static bool kswapd_shrink_node(pg_data_t *pgdat, struct scan_control *sc)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| pg_data_t * | pgdat | |
| struct scan_control * | sc |
| 3531 | zone等于包含了结点中各内存域的数据结构加z |
| 3542 | shrink_node(pgdat, sc) |
| 3554 | 返回: Incremented by the number of inactive pages that were scanned 大于等于 How many pages shrink_list() should reclaim |
| 名称 | 描述 |
|---|---|
| balance_pgdat | For kswapd, balance_pgdat() will reclaim pages across a node from zones* that are eligible for use by the caller until at least one zone is* balanced.* Returns the order kswapd finished reclaiming at. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |