函数逻辑报告 |
Source Code:mm\vmscan.c |
Create Date:2022-07-27 15:43:40 |
Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Returns true if there is an eligible zone balanced for the request order* and classzone_idx
函数原型:static bool pgdat_balanced(pg_data_t *pgdat, int order, int classzone_idx)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
pg_data_t * | pgdat | |
int | order | |
int | classzone_idx |
3439 | mark等于负1 |
3446 | 以i小于等于classzone_idx循环 |
3447 | zone等于包含了结点中各内存域的数据结构加i |
3452 | mark等于high_wmark_pages(zone) |
3453 | 如果zone_watermark_ok_safe(zone, order, mark, classzone_idx)则返回:true |
3462 | 如果mark恒等于负1则返回:true |
3465 | 返回:false |
名称 | 描述 |
---|---|
prepare_kswapd_sleep | Prepare kswapd for sleeping. This verifies that there are no processes* waiting in throttle_direct_reclaim() and that watermarks have been met.* Returns true if kswapd is ready to sleep |
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. |
wakeup_kswapd | A zone is low on free memory or too fragmented for high-order memory |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |