函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c |
Create Date:2022-07-27 09:13:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pseudo_lock_fn - Load kernel memory into cache*@_rdtgrp: resource group to which pseudo-lock region belongs* This is the core pseudo-locking flow
函数原型:static int pseudo_lock_fn(void *_rdtgrp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
void * | _rdtgrp |
445 | native_wbinvd() |
451 | 禁止中断() |
462 | __wrmsr(MSR_MISC_FEATURE_CONTROL, The bits needed to disable hardware prefetching varies based on the* platform. During initialization we will discover which bits to use., 0x0) |
463 | closid_p等于Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(cur_closid) |
464 | rmid_p等于Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(cur_rmid) |
474 | __wrmsr(IA32_PQR_ASSOC, rmid_p, closid) |
489 | rmb() |
490 | asm volatile |
500 | rmb() |
501 | asm volatile |
510 | __wrmsr(IA32_PQR_ASSOC, rmid_p, closid_p) |
513 | wrmsr(MSR_MISC_FEATURE_CONTROL, 0x0, 0x0) |
514 | 开中断() |
516 | thread_done等于1 |
517 | wake_up_interruptible( & lock_thread_wq) |
518 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |