Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Returns true if a zone has memory

Proto:static inline bool populated_zone(struct zone *zone)

Type:bool

Parameter:

TypeParameterName
struct zone *zone
893  Return present_pages
Caller
NameDescribe
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_pagesetAllocate per cpu pagesets and initialize them.* Before this call only boot pagesets were available.
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