函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ache_alloc_hsw_probe() - Have to probe for Intel haswell server CPUs* as they do not have CPUID enumeration support for Cache allocation

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

返回类型:void

参数:

201  r等于rdt_resources_all[RDT_RESOURCE_L3]
202  max_cbm等于BIT_MASK(20)减1
204  如果wrmsr with exception handling 则返回
207  Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(MSR_IA32_L3_CBM_BASE, l, h)
210  如果l不等于max_cbm则返回
213  num_closid等于4
214  default_ctrl等于max_cbm
215  cbm_len等于20
216  shareable_bits等于0xc0000
217  min_cbm_bits等于2
218  alloc_capable = true
219  alloc_enabled = true
221  Global boolean for rdt_alloc which is true if any* resource allocation is enabled. = true
调用者
名称描述
__check_quirks_intel