| Function report | 
| Source Code: kernel\smpboot.c | Create Date:2022-07-28 09:33:53 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__smpboot_create_thread
Proto:static int __smpboot_create_thread(struct smp_hotplug_thread *ht, unsigned int cpu)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct smp_hotplug_thread * | ht | |
| unsigned int | cpu | 
| 173 | tsk = per_cpu_ptr(store, cpu) | 
| 176 | If tsk Then Return 0 | 
| 196 | get_task_struct(tsk) | 
| 197 | per_cpu_ptr(store, cpu) = tsk | 
| 198 | If create Then | 
| 205 | If Not wait_task_inactive(tsk, Used in tsk->state again: ) Then WARN_ON(1) | 
| 210 | Return 0 | 
| Name | Describe | 
|---|---|
| smpboot_create_threads | |
| smpboot_register_percpu_thread | smpboot_register_percpu_thread - Register a per_cpu thread related* to hotplug*@plug_thread: Hotplug thread descriptor* Creates and starts the threads on all online cpus. | 
| 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 |