Function report | 
Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c | 
Create Date:2022-07-28 08:13:52 | 
| 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_region_init - Initialize pseudo-lock region information*@plr: pseudo-lock region* Called after user provided a schemata to be pseudo-locked. From the* schemata the &struct pseudo_lock_region is on entry already initialized
Proto:static int pseudo_lock_region_init(struct pseudo_lock_region *plr)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct pseudo_lock_region * | plr | 
| 284 | If Not cpu_online(cpu) Then | 
| 285 | rdt_last_cmd_printf("CPU %u associated with cache not online\n", cpu) | 
| 288 | Go to out_region | 
| 291 | ci = get_cpu_cacheinfo(cpu) | 
| 295 | When i < num_leaves cycle | 
| 296 | If level == cache_level Then | 
| 297 | line_size = coherency_line_size | 
| 298 | Return 0 | 
| 302 | ret = -1 | 
| 303 | rdt_last_cmd_puts("Unable to determine cache line size\n") | 
| 304 | out_region : | 
| 306 | Return ret | 
| Name | Describe | 
|---|---|
| pseudo_lock_region_alloc | pseudo_lock_region_alloc - Allocate kernel memory that will be pseudo-locked*@plr: pseudo-lock region* Initialize the details required to set up the pseudo-locked region and* allocate the contiguous memory that will be pseudo-locked to the cache. | 
| 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  |