Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:node_set_online

Proto:static inline void node_set_online(int nid)

Type:void

Parameter:

TypeParameterName
intnid
452  node_set_state(nid, The node is online )
453  nr_online_nodes = num_node_state(The node is online )
Caller
NameDescribe
__try_online_nodery_online_node - online a node if offlined*@nid: the node ID*@start: start addr of the node*@set_node_online: Whether we want to online the node* called by cpu_up() to online a node without onlined memory
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