函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:void setup_per_zone_wmarks(void)

返回类型:void

参数:

7794  DEFINE_SPINLOCK(lock)
7796  加自旋锁
7797  __setup_per_zone_wmarks()
7798  自旋锁解锁
调用者
名称描述
init_per_zone_wmark_minInitialise min_free_kbytes
min_free_kbytes_sysctl_handlermin_free_kbytes_sysctl_handler - just a wrapper around proc_dointvec() so* that we can call two helper functions whenever min_free_kbytes* changes.
watermark_scale_factor_sysctl_handler
set_recommended_min_free_kbytes