Function report |
Source Code:kernel\smpboot.c |
Create Date:2022-07-28 09:33:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:int smpboot_register_percpu_thread(struct smp_hotplug_thread *plug_thread)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct smp_hotplug_thread * | plug_thread |
292 | ret = 0 |
294 | get_online_cpus() |
295 | mutex_lock( & smpboot_threads_lock) |
296 | for_each_online_cpu(cpu) |
305 | out : |
306 | mutex_unlock( & smpboot_threads_lock) |
307 | put_online_cpus() |
308 | Return ret |
Name | Describe |
---|---|
rcu_spawn_core_kthreads | Spawn per-CPU RCU core processing kthreads. |
cpu_stop_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 |