Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\core.c Create Date:2022-07-28 08:10:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:domain_remove_cpu

Proto:static void domain_remove_cpu(int cpu, struct rdt_resource *r)

Type:void

Parameter:

TypeParameterName
intcpu
struct rdt_resource *r
603  id = get_cache_id(cpu, cache_level)
606  d = dt_find_domain - Find a domain in a resource that matches input resource id* Search resource r's domain list to find the resource id. If the resource* id is found in a domain, return the domain. Otherwise, if requested by
607  If IS_ERR_OR_NULL(d) Then
608  pr_warn("Could't find cache id for cpu %d\n", cpu)
609  Return
612  pumask_clear_cpu - clear a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer
613  If pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear. Then
618  If static_branch_unlikely( & rdt_mon_enable_key) Then rmdir_mondata_subdir_allrdtgrp(r, id)
620  deletes entry from list
621  If mon_capable && is_mbm_enabled() Then cancel_delayed_work( & mbm_over)
623  If is_llc_occupancy_enabled() && has_busy_rmid(r, d) Then
632  __check_limbo(d, true)
640  If plr Then d = NULL
643  free previously allocated memory
644  free previously allocated memory
645  bitmap_free(rmid_busy_llc)
646  free previously allocated memory
647  free previously allocated memory
648  free previously allocated memory
649  Return
652  If r == rdt_resources_all[RDT_RESOURCE_L3] Then
653  If is_mbm_enabled() && cpu == mbm_work_cpu Then
Caller
NameDescribe
resctrl_offline_cpu