函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hard_dirty_limit

函数原型:static unsigned long hard_dirty_limit(struct wb_domain *dom, unsigned long thresh)

返回类型:unsigned long

参数:

类型参数名称
struct wb_domain *dom
unsigned longthresh
725  返回:两数取大(thresh, dirty_limit)
调用者
名称描述
wb_position_ratioDirty position control
wb_update_dirty_ratelimitMaintain wb->dirty_ratelimit, the base dirty throttle rate.* Normal wb tasks will be curbed at or below it in long term.* Obviously it should be around (write_bw / N) when there are N dd tasks.