函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:void global_dirty_limits(unsigned long *pbackground, unsigned long *pdirty)

返回类型:void

参数:

类型参数名称
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
调用者
名称描述
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