Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\vmstat.h Create Date:2022-07-28 05:43:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:global_zone_page_state

Proto:static inline unsigned long global_zone_page_state(enum zone_stat_item item)

Type:unsigned long

Parameter:

TypeParameterName
enum zone_stat_itemitem
185  x = atomic_long_read( & Zone and node-based page accounting with per cpu differentials.[item])
190  Return x
Caller
NameDescribe
global_dirtyable_memoryglobal_dirtyable_memory - number of globally dirtyable pages* Return: the global number of pages potentially available for dirty* page cache. This is the base value for the global dirty limits.
vmstat_start
init_user_reserveInitialise sysctl_user_reserve_kbytes.* This is intended to prevent a user from starting a single memory hogging* process, such that they cannot recover (kill the hog) in OVERCOMMIT_NEVER* mode.* The default value is min(3% of free memory, 128MB)
init_admin_reserveInitialise sysctl_admin_reserve_kbytes.* The purpose of sysctl_admin_reserve_kbytes is to allow the sys admin* to log in and kill a memory hogging process.* Systems with more than 256MB will reserve 8MB, enough to recover
init_user_reserveInitialise sysctl_user_reserve_kbytes.* This is intended to prevent a user from starting a single memory hogging* process, such that they cannot recover (kill the hog) in OVERCOMMIT_NEVER* mode.* The default value is min(3% of free memory, 128MB)
init_admin_reserveInitialise sysctl_admin_reserve_kbytes.* The purpose of sysctl_admin_reserve_kbytes is to allow the sys admin* to log in and kill a memory hogging process.* Systems with more than 256MB will reserve 8MB, enough to recover
reserve_mem_notifierReinititalise user and admin reserves if memory is added or removed
si_mem_available
si_meminfo
show_free_areasShow free area list (used inside shift_scroll-lock stuff)* We also calculate the percentage fragmentation