函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Returns true if a zone has memory

函数原型:static inline bool populated_zone(struct zone *zone)

返回类型:bool

参数:

类型参数名称
struct zone *zone
893  返回:内存域中实际上可用的页数目
调用者
名称描述
show_mem
enough_free_memgh_free_mem - Check if there is enough free memory for the image.
node_dirtyable_memoryde_dirtyable_memory - number of dirtyable pages in a node*@pgdat: the node* Return: the node's number of pages potentially available for dirty* page cache. This is the base value for the per-node dirty limits.
zero_zones_numa_counterszero numa counters of all the populated zones
walk_zones_in_nodeWalk zones in a node and print using a callback.* If @assert_populated is true, only use callback for zones that are populated.
is_zone_first_populated
zoneinfo_show_print
page_alloc_init_late
setup_per_cpu_pageset创建每个CPU的高速缓存集合数组
zone_pcp_init
percpu_pagelist_fraction_sysctl_handlerpercpu_pagelist_fraction - changes the pcp->high for each zone on each* cpu. It is the fraction of total pages in each zone that a hot per cpu* pagelist can have before it gets flushed back to buddy allocator.
madvise_inject_errorError injection support for memory error handling.
init_zones_in_node