函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\vmstat.h Create Date:2022-07-27 06:44:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:global_zone_page_state

函数原型:static inline unsigned long global_zone_page_state(enum zone_stat_item item)

返回类型:unsigned long

参数:

类型参数名称
enum zone_stat_itemitem
185  x等于atomic_long_read( & Zone and node-based page accounting with per cpu differentials.[item])
190  返回:x
调用者
名称描述
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