Function report |
Source Code:kernel\sched\topology.c |
Create Date:2022-07-28 09:42:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:init_overlap_sched_group
Proto:static void init_overlap_sched_group(struct sched_domain *sd, struct sched_group *sg)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct sched_domain * | sd | |
struct sched_group * | sg |
901 | mask = sched_domains_tmpmask2 |
909 | sgc = per_cpu_ptr(sgc, cpu) |
910 | If atomic_inc_return( & ref) == 1 Then pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask |
912 | Else WARN_ON_ONCE(!pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input) |
920 | sg_span = sched_group_span(sg) |
921 | capacity = SCHED_CAPACITY_SCALE * pumask_weight - Count of bits in *srcp*@srcp: the cpumask to count bits (< nr_cpu_ids) in. |
Name | Describe |
---|---|
build_overlap_sched_groups |
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 |