Function report |
Source Code:kernel\sched\topology.c |
Create Date:2022-07-28 09:42:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloc_sched_domains
Proto:cpumask_var_t *alloc_sched_domains(unsigned int ndoms)
Type:cpumask_var_t
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | ndoms |
2113 | doms = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
2114 | If Not doms Then Return NULL |
2117 | If Not alloc_cpumask_var( & doms[i], GFP_KERNEL) Then |
2118 | free_sched_domains(doms, i) |
2119 | Return NULL |
2122 | Return doms |
Name | Describe |
---|---|
sched_init_domains | Set up scheduler domains and groups. For now this just excludes isolated* CPUs, but could be used to exclude other special cases in the future. |
partition_sched_domains_locked | Partition 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. |
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 |