函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Set up the zone data structures* - init pgdat internals* - init all zones belonging to this node* NOTE: this function is only called during memory hotplug

函数原型:void __ref free_area_init_core_hotplug(int nid)

返回类型:void

参数:

类型参数名称
intnid
6717  pgdat等于NUMA节点数据区(nid)
6719  pgdat_init_internals(pgdat)
6720 z小于MAX_NR_ZONES循环zone_init_internals( & 包含了结点中各内存域的数据结构[z], z, nid, 0)
调用者
名称描述
hotadd_new_pgdatwe are OK calling __meminit stuff here - we have CONFIG_MEMORY_HOTPLUG