函数逻辑报告

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:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__get_mem_config_intel

函数原型:static bool __get_mem_config_intel(struct rdt_resource *r)

返回类型:bool

参数:

类型参数名称
struct rdt_resource *r
259  cpuid_count(0x00000010, 3, & full, & ebx, & ecx, & full)
260  num_closid等于cos_max加1
261  max_delay等于max_delay加1
262  default_ctrl等于MAX_MBA_BW
263  如果ecx按位与MBA_IS_LINEAR
264  delay_linear = true
265  min_bw等于MAX_MBA_BWmax_delay
266  bw_gran等于MAX_MBA_BWmax_delay
267  否则
268  如果非dt_get_mb_table() - get a mapping of bandwidth(b/w) percentage values* exposed to user interface and the h/w understandable delay values则返回:false
271  data_width等于3
273  alloc_capable = true
274  alloc_enabled = true
276  返回:true
调用者
名称描述
get_mem_config