函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:common_cpu_up

函数原型:int common_cpu_up(unsigned int cpu, struct task_struct *idle)

返回类型:int

参数:

类型参数名称
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  如果ret则返回:ret
1010  per_cpu(cpu_current_top_of_stack, cpu)等于task_top_of_stack(idle)
1014  返回:0
调用者
名称描述
native_cpu_up