Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:unsigned long sum_zone_node_page_state(int node, enum zone_stat_item item)

Type:unsigned long

Parameter:

TypeParameterName
intnode
enum zone_stat_itemitem
962  zones = node_zones
964  count = 0
966  When i < MAX_NR_ZONES cycle count += zone_page_state(zones + i, item)
969  Return count
Caller
NameDescribe
si_meminfo_node