Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page-writeback.c Create Date:2022-07-28 14:10:49
Last Modify:2022-05-23 13:25:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void writeback_set_ratelimit(void)

Type:void

Parameter:Nothing

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_thresh / num_online_cpus() * 32
2053  If 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 Then 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
Caller
NameDescribe
dirty_ratio_handler
dirty_bytes_handler
page_writeback_cpu_online