函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-27 16:38:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:min_free_kbytes_sysctl_handler - just a wrapper around proc_dointvec() so* that we can call two helper functions whenever min_free_kbytes* changes.

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

返回类型:int

参数:

类型参数名称
struct ctl_table *table
intwrite
void __user *buffer
size_t *length
loff_t *ppos
7866  rc等于指定大小读sysctl整数向量
7867  如果rc则返回:rc
7870  如果write
7871  user_min_free_kbytes等于min_free_kbytes
7872  setup_per_zone_wmarks - called when min_free_kbytes changes* or when memory is hot-{added|removed}* Ensures that the watermark[min,low,high] values for each zone are set* correctly with respect to min_free_kbytes.
7874  返回:0