Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:show_numa_info

Proto:static void show_numa_info(struct seq_file *m, struct vm_struct *v)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
struct vm_struct *v
3558  If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_NUMA) Then
3559  counters = private
3561  If Not counters Then Return
3564  If flags & vm_struct is not fully initialized Then Return
3567  smp_rmb()
3569  memset(counters, 0, nr_node_ids * sizeof(unsignedint))
3571  When nr < nr_pages cycle counters[page_to_nid(pages[nr])]++
3574  for_each_node_state(nr, N_HIGH_MEMORY)
3575  If counters[nr] Then seq_printf(m, " N%u=%u", nr, counters[nr])
Caller
NameDescribe
s_show