函数逻辑报告 |
Source Code:mm\page-writeback.c |
Create Date:2022-07-27 15:33:48 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:wb_min_pause
函数原型:static long wb_min_pause(struct bdi_writeback *wb, long max_pause, unsigned long task_ratelimit, unsigned long dirty_ratelimit, int *nr_dirtied_pause)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bdi_writeback * | wb | |
long | max_pause | |
unsigned long | task_ratelimit | |
unsigned long | dirty_ratelimit | |
int * | nr_dirtied_pause |
1500 | pause等于HZ乘pages除task_ratelimit加1的和 |
1506 | nr_dirtied_pause等于pages |
1510 | 返回:如果pages大于等于Try to keep balance_dirty_pages() call intervals higher than this many pages* by raising pause time to max_pause when falls below it.则1加t除2否则t |
名称 | 描述 |
---|---|
balance_dirty_pages | alance_dirty_pages() must be called by processes which are generating dirty* data |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |