函数逻辑报告 |
Source Code:mm\vmscan.c |
Create Date:2022-07-27 15:42:10 |
Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:A direct reclaimer may isolate SWAP_CLUSTER_MAX pages from the LRU list and* then get rescheduled
函数原型:static int too_many_isolated(struct pglist_data *pgdat, int file, struct scan_control *sc)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pglist_data * | pgdat | |
int | file | |
struct scan_control * | sc |
1798 | 如果current_is_kswapd()则返回:0 |
1804 | 如果file则 |
1805 | inactive等于node_page_state(pgdat, NR_INACTIVE_FILE) |
1806 | isolated等于node_page_state(pgdat, NR_ISOLATED_FILE) |
1807 | 否则 |
1808 | inactive等于node_page_state(pgdat, NR_INACTIVE_ANON) |
1809 | isolated等于node_page_state(pgdat, NR_ISOLATED_ANON) |
名称 | 描述 |
---|---|
shrink_inactive_list | shrink_inactive_list() is a helper for shrink_node(). It returns the number* of reclaimed pages |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |