函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmstat.c Create Date:2022-07-27 15:47:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:unsigned long sum_zone_node_page_state(int node, enum zone_stat_item item)

返回类型:unsigned long

参数:

类型参数名称
intnode
enum zone_stat_itemitem
962  zones等于包含了结点中各内存域的数据结构
964  count等于0
966 i小于MAX_NR_ZONES循环count加等于zone_page_state(zones + i, item)
969  返回:count
调用者
名称描述
si_meminfo_node
shrink_node