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:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:calculate_max_logical_packages

Proto:void __init calculate_max_logical_packages(void)

Type:void

Parameter:Nothing

1406  ncpus = booted_cores * topology_max_smt_threads()
1407  Logical package management. We might want to allocate that dynamically = DIV_ROUND_UP(al number of cpus in this system (may exceed NR_CPUS) , ncpus)
1408  pr_info("Max logical packages: %u\n", Logical package management. We might want to allocate that dynamically )
Caller
NameDescribe
native_smp_cpus_done