Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:void global_dirty_limits(unsigned long *pbackground, unsigned long *pdirty)

Type:void

Parameter:

TypeParameterName
unsigned long *pbackground
unsigned long *pdirty
461  struct dirty_throttle_control gdtc = {GDTC_INIT_NO_WB}
463  dirtyable = global_dirtyable_memory - number of globally dirtyable pages* Return: the global number of pages potentially available for dirty* page cache. This is the base value for the global dirty limits.
464  domain_dirty_limits - calculate thresh and bg_thresh for a wb_domain*@dtc: dirty_throttle_control of interest* Calculate @dtc->thresh and ->bg_thresh considering* vm_dirty_{bytes|ratio} and dirty_background_{bytes|ratio}. The caller
466  pbackground = dirty background threshold
467  pdirty = dirty threshold
Caller
NameDescribe
writeback_set_ratelimitIf 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
vmstat_start