函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:取得CPU的NUMA节点

函数原型:static inline int early_cpu_to_node(int cpu)

返回类型:int

参数:

类型参数名称
intcpu
58  返回:early_per_cpu(Mappings between logical cpu number and node number , cpu)
调用者
名称描述
setup_getcpu
cpu_initpu_init() initializes state that is per-CPU. Some data is already* initialized (naturally) in the bootstrap process, such as the GDT* and IDT. We reload them nevertheless, this function acts as a* 'CPU state barrier', nothing should get across.
announce_cpuduce the number of lines printed when booting a large cpu count system
setup_per_cpu_areasSMP体系CPU分配内存