Function report | 
Source Code:mm\memory_hotplug.c | 
Create Date:2022-07-28 15:56:48 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:we are OK calling __meminit stuff here - we have CONFIG_MEMORY_HOTPLUG
Proto:static pg_data_t __ref *hotadd_new_pgdat(int nid, u64 start)
Type:pg_data_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | nid | |
| u64 | start | 
| 900 | If Not pgdat Then | 
| 901 | pgdat = arch_alloc_nodedata(nid) | 
| 902 | If Not pgdat Then Return NULL | 
| 905 | per_cpu_nodestats = alloc_percpu(structper_cpu_nodestat) | 
| 907 | arch_refresh_nodedata(nid, pgdat) | 
| 908 | Else | 
| 915 | nr_zones = 0 | 
| 916 | kswapd_order = 0 | 
| 917 | kswapd_classzone_idx = 0 | 
| 918 | for_each_online_cpu(cpu) | 
| 921 | p = per_cpu_ptr(per_cpu_nodestats, cpu) | 
| 929 | node_start_pfn = start_pfn | 
| 948 | Return pgdat | 
| Name | Describe | 
|---|---|
| __try_online_node | 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 | 
| 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  |