Function report |
Source Code:arch\x86\kernel\cpu\resctrl\core.c |
Create Date:2022-07-28 08:10:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:domain_add_cpu - Add a cpu to a resource's domain list.* If an existing domain in the resource r's domain list matches the cpu's* resource id, add the cpu in the domain.* Otherwise, a new domain is allocated and inserted into the right position
Proto:static void domain_add_cpu(int cpu, struct rdt_resource *r)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
int | cpu | |
struct rdt_resource * | r |
559 | id = get_cache_id(cpu, cache_level) |
569 | If d Then |
570 | pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer |
571 | Return |
575 | If Not d Then Return |
579 | pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer |
581 | If alloc_capable && domain_setup_ctrlval(r, d) Then |
583 | Return |
586 | If mon_capable && domain_setup_mon_state(r, d) Then |
588 | Return |
597 | If static_branch_unlikely( & rdt_mon_enable_key) Then mkdir_mondata_subdir_allrdtgrp(r, d) |
Name | Describe |
---|---|
resctrl_online_cpu |
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 |