Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-28 15:08:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:void setup_per_zone_wmarks(void)

Type:void

Parameter:Nothing

7794  DEFINE_SPINLOCK(lock)
7796  spin_lock( & lock)
7797  __setup_per_zone_wmarks()
7798  spin_unlock( & lock)
Caller
NameDescribe
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