函数逻辑报告 |
Source Code:mm\page-writeback.c |
Create Date:2022-07-27 15:33:13 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__wb_calc_thresh - @wb's share of dirty throttling threshold*@dtc: dirty_throttle_context of interest* Note that balance_dirty_pages() will only seriously take it as a hard limit* when sleeping max_pause per page is not enough to keep the dirty pages under
函数原型:static unsigned long __wb_calc_thresh(struct dirty_throttle_control *dtc)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dirty_throttle_control * | dtc |
767 | thresh等于dirty threshold |
775 | fprop_fraction_percpu( & Scale the writeback cache size proportional to the relative* writeout speed, wb_completions, & numerator, & denominator) |
778 | wb_thresh等于thresh乘100减di_min_ratio keeps the sum of the minimum dirty shares of all* registered backing devices, which, for obvious reasons, can not* exceed 100%.的差除100 |
780 | wb_thresh等于div64_ul(wb_thresh, denominator) |
782 | wb_min_max_ratio(wb, & wb_min_ratio, & wb_max_ratio) |
784 | wb_thresh加等于thresh乘wb_min_ratio除100 |
785 | 如果wb_thresh大于thresh乘wb_max_ratio除100则wb_thresh等于thresh乘wb_max_ratio除100 |
788 | 返回:wb_thresh |
名称 | 描述 |
---|---|
wb_calc_thresh | |
wb_dirty_limits |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |