函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page-writeback.c Create Date:2022-07-27 15:34:25
Last Modify:2022-05-23 13:25:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:If ratelimit_pages is too high then we can get into dirty-data overload* if a large number of processes all perform writes at the same time

函数原型:void writeback_set_ratelimit(void)

返回类型:void

参数:

2046  dom等于End of sysctl-exported parameters
2050  global_dirty_limits - background-writeback and dirty-throttling thresholds*@pbackground: out parameter for bg_thresh*@pdirty: out parameter for thresh* Calculate bg_thresh and thresh for global_wb_domain. See* domain_dirty_limits() for details.
2051  dirty_limit等于dirty_thresh
2052  After a CPU has dirtied this many pages, balance_dirty_pages_ratelimited* will look to see if it needs to force writeback or throttling.等于dirty_threshnum_online_cpus()乘32
2053  如果After a CPU has dirtied this many pages, balance_dirty_pages_ratelimited* will look to see if it needs to force writeback or throttling.小于16则After a CPU has dirtied this many pages, balance_dirty_pages_ratelimited* will look to see if it needs to force writeback or throttling.等于16
调用者
名称描述
dirty_ratio_handler
dirty_bytes_handler
page_writeback_cpu_online