Function report |
Source Code:kernel\sched\topology.c |
Create Date:2022-07-28 09:41:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Attach the domain 'sd' to 'cpu' as its base domain. Callers must* hold the hotplug lock.
Proto:static void cpu_attach_domain(struct sched_domain *sd, struct root_domain *rd, int cpu)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sched_domain * | sd | |
| struct root_domain * | rd | |
| int | cpu |
| 669 | If Not parent Then Break |
| 672 | If sd_parent_degenerate(tmp, parent) Then |
| 681 | If flags & SD_PREFER_SIBLING Then flags |= SD_PREFER_SIBLING |
| 688 | If sd && sd_degenerate(sd) Then |
| 696 | sched_domain_debug(sd, cpu) |
| 698 | rq_attach_root(rq, rd) |
| 702 | destroy_sched_domains(tmp) |
| Name | Describe |
|---|---|
| build_sched_domains | Build sched domains for a given set of CPUs and attach the sched domains* to the individual CPUs |
| detach_destroy_domains | Detach sched domains from a group of CPUs specified in cpu_map* These CPUs will now be attached to the NULL domain |
| 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 |