Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rollback_node_hotadd

Proto:static void rollback_node_hotadd(int nid)

Type:void

Parameter:

TypeParameterName
intnid
953  pgdat = NODE_DATA(nid)
955  arch_refresh_nodedata(nid, NULL)
956  free previously allocated percpu memory
957  arch_free_nodedata(pgdat)
Caller
NameDescribe
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