函数逻辑报告 |
Source Code:mm\page-writeback.c |
Create Date:2022-07-27 15:33:11 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Memory which can be further allocated to a memcg domain is capped by* system-wide clean memory excluding the amount being used in the domain.
函数原型:static void mdtc_calc_avail(struct dirty_throttle_control *mdtc, unsigned long filepages, unsigned long headroom)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dirty_throttle_control * | mdtc | |
unsigned long | filepages | |
unsigned long | headroom |
737 | global_clean等于dirtyable 减两数取小(dirtyable , le_dirty + write + nfs ) |
738 | other_clean等于global_clean减两数取小(global_clean, clean) |
740 | dirtyable 等于filepages加两数取小(headroom, other_clean) |
名称 | 描述 |
---|---|
balance_dirty_pages | alance_dirty_pages() must be called by processes which are generating dirty* data |
wb_over_bg_thresh | wb_over_bg_thresh - does @wb need to be written back?*@wb: bdi_writeback of interest* Determines whether background writeback should keep writing @wb or it's* clean enough.* Return: %true if writeback should continue. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |