Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zone_managed_pages

Proto:static inline unsigned long zone_managed_pages(struct zone *zone)

Type:unsigned long

Parameter:

TypeParameterName
struct zone *zone
600  Return atomic_long_read( & * spanned_pages is the total pages spanned by the zone, including * holes, which is calculated as: * spanned_pages = zone_end_pfn - zone_start_pfn; * present_pages is physical pages existing within the zone, which * is calculated as: * present_pages = span)
Caller
NameDescribe
show_mem
zoneinfo_show_print
reserve_highatomic_pageblockReserve a pageblock for exclusive use of high-order atomic allocations if* there are no empty page blocks that contain a page with a suitable order
nr_free_zone_pagesr_free_zone_pages - count number of pages beyond high watermark*@offset: The zone index of the highest zone* nr_free_zone_pages() counts the number of pages which are beyond the* high watermark within all zones at or below a given zone index
si_meminfo_node
show_free_areasShow free area list (used inside shift_scroll-lock stuff)* We also calculate the percentage fragmentation
zone_batchsize
pageset_set_high_and_batch
calculate_totalreserve_pagesalculate_totalreserve_pages - called when sysctl_lowmem_reserve_ratio* or min_free_kbytes changes.
setup_per_zone_lowmem_reservesetup_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().
__setup_per_zone_wmarks
setup_min_unmapped_ratio
setup_min_slab_ratio