函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smpboot_unregister_percpu_thread - Unregister a per_cpu thread related to hotplug*@plug_thread: Hotplug thread descriptor* Stops all threads on all possible cpus.

函数原型:void smpboot_unregister_percpu_thread(struct smp_hotplug_thread *plug_thread)

返回类型:void

参数:

类型参数名称
struct smp_hotplug_thread *plug_thread
320  get_online_cpus()
321  mutex_lock( & smpboot_threads_lock)
322  删除链表项
323  smpboot_destroy_threads(plug_thread)
324  mutex_unlock( & smpboot_threads_lock)
325  put_online_cpus()