Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\stop_machine.c Create Date:2022-07-28 11:21:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cpu_stop_init

Proto:static int __init cpu_stop_init(void)

Type:int

Parameter:Nothing

582  for_each_possible_cpu(cpu)
583  stopper = per_cpu(cpu_stopper, cpu)
585  raw_spin_lock_init( & lock)
586  Initialization list head
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  Return 0