Function report |
Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c |
Create Date:2022-07-28 08:13:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pseudo_lock_fn - Load kernel memory into cache*@_rdtgrp: resource group to which pseudo-lock region belongs* This is the core pseudo-locking flow
Proto:static int pseudo_lock_fn(void *_rdtgrp)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | _rdtgrp |
| 445 | native_wbinvd() |
| 451 | local_irq_disable() |
| 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) |
| 516 | thread_done = 1 |
| 517 | wake_up_interruptible( & lock_thread_wq) |
| 518 | Return 0 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |