Function report |
Source Code:kernel\sched\topology.c |
Create Date:2022-07-28 09:42:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:NULL the sd_data elements we've used to build the sched_domain and* sched_group structure so that the subsequent __free_domain_allocs()* will not free the data we're using.
Proto:static void claim_allocations(int cpu, struct sched_domain *sd)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | cpu | |
| struct sched_domain * | sd |
| 1262 | WARN_ON_ONCE( * per_cpu_ptr(sd, cpu) != sd) |
| 1263 | * per_cpu_ptr(sd, cpu) = NULL |
| 1265 | If atomic_read( & ref) Then * per_cpu_ptr(sds, cpu) = NULL |
| 1268 | If atomic_read( & ref) Then * per_cpu_ptr(sg, cpu) = NULL |
| 1271 | If atomic_read( & ref) Then * per_cpu_ptr(sgc, cpu) = NULL |
| Name | Describe |
|---|---|
| build_sched_domains | Build sched domains for a given set of CPUs and attach the sched domains* to the individual CPUs |
| 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 |