Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:int min_free_kbytes_sysctl_handler(struct ctl_table *table, int write, void __user *buffer, size_t *length, loff_t *ppos)

Type:int

Parameter:

TypeParameterName
struct ctl_table *table
intwrite
void __user *buffer
size_t *length
loff_t *ppos
7866  rc = read a vector of integers with min/max values
7867  If rc Then Return rc
7870  If write Then
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  Return 0