Function report |
Source Code:mm\memory_hotplug.c |
Create Date:2022-07-28 15:56:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ry_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
Proto:static int __try_online_node(int nid, u64 start, bool set_node_online)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | nid | |
u64 | start | |
bool | set_node_online |
976 | ret = 1 |
978 | If node_online(nid) Then Return 0 |
982 | If Not pgdat Then |
988 | If set_node_online Then |
993 | out : |
994 | Return ret |
Name | Describe |
---|---|
try_online_node | Users of this function always want to online/register the node |
add_memory_resource | NOTE: 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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |