| Function report | 
| Source Code: mm\vmscan.c | Create Date:2022-07-28 14:20:10 | 
| Last Modify:2022-05-23 13:41:30 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:This kswapd start function will be called by init and node-hot-add.* On node-hot-add, kswapd will moved to proper cpus if cpus are hot-added.
Proto:int kswapd_run(int nid)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | nid | 
| 4077 | ret = 0 | 
| 4079 | If Protected by mem_hotplug_begin/end() Then Return 0 | 
| 4083 | If IS_ERR( Protected by mem_hotplug_begin/end() ) Then | 
| 4085 | BUG_ON(system_state < SYSTEM_RUNNING) | 
| 4087 | ret = PTR_ERR( Protected by mem_hotplug_begin/end() ) | 
| 4088 | Protected by mem_hotplug_begin/end() = NULL | 
| 4090 | Return ret | 
| Name | Describe | 
|---|---|
| kswapd_init | 
| 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 |