Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\smpboot.c Create Date:2022-07-28 08:24:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:common_cpu_up

Proto:int common_cpu_up(unsigned int cpu, struct task_struct *idle)

Type:int

Parameter:

TypeParameterName
unsigned intcpu
struct task_struct *idle
999  alternatives_enable_smp()
1001  per_cpu(The following percpu variables are hot. Align current_task to* cacheline size such that they fall in the same cacheline., cpu) = idle
1004  ret = Allocate per-cpu stacks for hardirq and softirq processing
1005  If ret Then Return ret
1010  per_cpu(cpu_current_top_of_stack, cpu) = task_top_of_stack(idle)
1014  Return 0
Caller
NameDescribe
native_cpu_up