函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cpumask.h Create Date:2022-07-27 06:38:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:set_cpu_possible

函数原型:static inline void set_cpu_possible(unsigned int cpu, bool possible)

返回类型:void

参数:

类型参数名称
unsigned intcpu
boolpossible
823  如果possible设置CPU信息
825  否则清空CPU信息
调用者
名称描述
smp_sanity_checkVarious sanity checks.
prefill_possible_mappu_possible_mask should be static, it cannot change as cpu's* are onlined, or offlined. The reason is per-cpu data-structures* are allocated by some modules at init time, and dont expect to* do this dynamically on cpu arrival/departure.
generic_processor_info
boot_cpu_initActivate the first processor.