函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cpu_stop_init

函数原型:static int __init cpu_stop_init(void)

返回类型:int

参数:

582  遍历可用CPU(cpu)
583  stopper等于per_cpu(cpu_stopper, cpu)
585  raw_spin_lock_init( & lock)
586  初始化链表头
589  BUG_ON(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.)
590  stop_machine_unpark(These macros fold the SMP functionality into a single CPU system())
591  stop_machine_initialized = true
592  返回:0