函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c |
Create Date:2022-07-27 09:13:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pseudo_lock_cstates_constrain - Restrict cores from entering C6* To prevent the cache from being affected by power management entering* C6 has to be avoided
函数原型:static int pseudo_lock_cstates_constrain(struct pseudo_lock_region *plr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pseudo_lock_region * | plr |
208 | 如果非pm_req则 |
213 | ret等于dev_pm_qos_add_request(get_cpu_device(cpu), & req, DEV_PM_QOS_RESUME_LATENCY, 30) |
217 | 如果ret小于0则 |
218 | rdt_last_cmd_printf("Failed to add latency req CPU%d\n", cpu) |
220 | 释放内存 |
221 | ret等于负1 |
222 | 转到:out_err |
224 | 添加链表项 |
227 | 返回:0 |
229 | out_err : |
231 | 返回:ret |
名称 | 描述 |
---|---|
rdtgroup_pseudo_lock_create | dtgroup_pseudo_lock_create - Create a pseudo-locked region*@rdtgrp: resource group to which pseudo-lock region belongs* Called when a resource group in the pseudo-locksetup mode receives a* valid schemata that should be pseudo-locked |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |