Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-28 15:06:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:si_meminfo_node

Proto:void si_meminfo_node(struct sysinfo *val, int nid)

Type:void

Parameter:

TypeParameterName
struct sysinfo *val
intnid
5138  managed_pages = 0
5139  managed_highpages = 0
5140  free_highpages = 0
5141  pgdat = NODE_DATA(nid)
5143  When zone_type < MAX_NR_ZONES cycle managed_pages += zone_managed_pages( & node_zones[zone_type])
5145  Total usable main memory size = managed_pages
5146  Amount of shared memory = Determine the per node value of a stat item.
5147  Available memory size = Determine the per node value of a stat item. This function* is called frequently in a NUMA machine, so try to be as* frugal as possible.
5160  Total high memory size = managed_highpages
5161  Available high memory size = free_highpages
5163  Memory unit size in bytes = PAGE_SIZE