函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rollback_node_hotadd

函数原型:static void rollback_node_hotadd(int nid)

返回类型:void

参数:

类型参数名称
intnid
953  pgdat等于NUMA节点数据区(nid)
955  arch_refresh_nodedata(nid, NULL)
956  释放内存
957  arch_free_nodedata(pgdat)
调用者
名称描述
add_memory_resourceNOTE: The caller must call lock_device_hotplug() to serialize hotplug* and online/offline operations (triggered e.g. by sysfs).* we are OK calling __meminit stuff here - we have CONFIG_MEMORY_HOTPLUG