Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lowmem_reserve_ratio_sysctl_handler - just a wrapper around* proc_dointvec() so that we can call setup_per_zone_lowmem_reserve()* whenever sysctl_lowmem_reserve_ratio changes.* The reserve ratio obviously has absolutely no relation with the

Proto:int lowmem_reserve_ratio_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
7973  read a vector of integers with min/max values
7974  setup_per_zone_lowmem_reserve - called whenever* sysctl_lowmem_reserve_ratio changes. Ensures that each zone* has a correct pages reserved value, so an adequate number of* pages are left in the zone after a successful __alloc_pages().
7975  Return 0