函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\smpboot.c Create Date:2022-07-27 10:34:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:smpboot_destroy_threads

函数原型:static void smpboot_destroy_threads(struct smp_hotplug_thread *ht)

返回类型:void

参数:

类型参数名称
struct smp_hotplug_thread *ht
271  遍历可用CPU(cpu)
272  tsk等于per_cpu_ptr(store, cpu)
274  如果tsk
277  * per_cpu_ptr(store, cpu) = NULL
调用者
名称描述
smpboot_register_percpu_threadsmpboot_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.
smpboot_unregister_percpu_threadsmpboot_unregister_percpu_thread - Unregister a per_cpu thread related to hotplug*@plug_thread: Hotplug thread descriptor* Stops all threads on all possible cpus.