函数逻辑报告

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

函数名称:reset_cpu_possible_mask

函数原型:static inline void reset_cpu_possible_mask(void)

返回类型:void

参数:

817  bitmap_zero(cpumask_bits - get the bits in a cpumask*@maskp: the struct cpumask ** You should only assume nr_cpu_ids bits of this mask are valid. This is* a macro so it's const-correct.( & The following particular system cpumasks and operations manage* possible, present, active and online cpus), CPU数量)
调用者
名称描述
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.