Function report |
Source Code:kernel\sched\topology.c |
Create Date:2022-07-28 09:42:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Build the balance mask; it contains only those CPUs that can arrive at this* group and should be considered to continue balancing
Proto:static void build_balance_mask(struct sched_domain *sd, struct sched_group *sg, struct cpumask *mask)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct sched_domain * | sd | |
struct sched_group * | sg | |
struct cpumask * | mask |
842 | sg_span = sched_group_span(sg) |
850 | sibling = per_cpu_ptr(sd, i) |
857 | If Not child Then Continue |
861 | If Not pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input Then Continue |
864 | pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer |
868 | WARN_ON_ONCE(pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear.) |
Name | Describe |
---|---|
init_overlap_sched_group |
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 |