Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:wb_calc_thresh

Proto:unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh)

Type:unsigned long

Parameter:

TypeParameterName
struct bdi_writeback *wb
unsigned longthresh
793  struct dirty_throttle_control gdtc = {GDTC_INIT(wb), dirty threshold = thresh}
795  Return __wb_calc_thresh - @wb's share of dirty throttling threshold*@dtc: dirty_throttle_context of interest* Note that balance_dirty_pages() will only seriously take it as a hard limit* when sleeping max_pause per page is not enough to keep the dirty pages under
Caller
NameDescribe
wb_over_bg_threshwb_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.