函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dirty_ratio_handler

函数原型:int dirty_ratio_handler(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)

返回类型:int

参数:

类型参数名称
struct ctl_table *table
intwrite
void __user *buffer
size_t *lenp
loff_t *ppos
542  old_ratio等于The generator of dirty data starts writeback at this percentage
545  ret等于指定大小读sysctl整数向量
546  如果ret恒等于0且writeThe generator of dirty data starts writeback at this percentage不等于old_ratio
547  If 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
548  vm_dirty_bytes starts at 0 (disabled) so that it is a function of* vm_dirty_ratio * the amount of dirtyable memory等于0
550  返回:ret