Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:update_dirty_limit

Proto:static void update_dirty_limit(struct dirty_throttle_control *dtc)

Type:void

Parameter:

TypeParameterName
struct dirty_throttle_control *dtc
1135  dom = dtc_dom(dtc)
1136  thresh = dirty threshold
1137  limit = dirty_limit
1142  If limit < thresh Then
1143  limit = thresh
1144  Go to update
1152  thresh = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(thresh, le_dirty + write + nfs )
1153  If limit > thresh Then
1154  limit -= limit - thresh >> 5
1155  Go to update
1157  Return
1158  update :
1159  dirty_limit = limit
Caller
NameDescribe
domain_update_bandwidth