Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\topology.c Create Date:2022-07-28 09:43:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Detach sched domains from a group of CPUs specified in cpu_map* These CPUs will now be attached to the NULL domain

Proto:static void detach_destroy_domains(const struct cpumask *cpu_map)

Type:void

Parameter:

TypeParameterName
const struct cpumask *cpu_map
2163  cpu = cpumask_any - pick a "random" cpu from *srcp*@srcp: the input cpumask* Returns >= nr_cpu_ids if no cpus set.(cpu_map)
2166  If cu_access_pointer() - fetch RCU pointer with no dereferencing*@p: The pointer to read* Return the value of the specified RCU-protected pointer, but omit the* lockdep checks for being in an RCU read-side critical section(per_cpu(sd_asym_cpucapacity, cpu)) Then static_branch_dec_cpuslocked( & sched_asym_cpucapacity)
2169  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
2170  for_each_cpu(i, cpu_map)
2171  Attach the domain 'sd' to 'cpu' as its base domain. Callers must* hold the hotplug lock.
2172  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
Caller
NameDescribe
partition_sched_domains_lockedPartition sched domains as specified by the 'ndoms_new'* cpumasks in the array doms_new[] of cpumasks. This compares* doms_new[] to the current sched domain partitioning, doms_cur[].* It destroys each deleted domain and builds each new domain.