Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zone_numa_state_snapshot

Proto:static inline unsigned long zone_numa_state_snapshot(struct zone *zone, enum numa_stat_item item)

Type:unsigned long

Parameter:

TypeParameterName
struct zone *zone
enum numa_stat_itemitem
159  x = atomic_long_read( & vm_numa_stat[item])
162  for_each_online_cpu(cpu)
163  x += ({
163  ({
163  Do
163  const void * __vpp_verify = NULL
163  When 0 cycle
163  pageset
163  })
163  })->vm_numa_stat_diff[item]
165  Return x
Caller
NameDescribe
sum_zone_numa_stateDetermine the per node value of a numa stat item. To avoid deviation,* the per cpu stat number in vm_numa_stat_diff[] is also included.
zoneinfo_show_print