Function report |
Source Code:kernel\irq\matrix.c |
Create Date:2022-07-28 10:16:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Find the best CPU which has the lowest number of managed IRQs allocated
Proto:static unsigned int matrix_find_best_cpu_managed(struct irq_matrix *m, const struct cpumask *msk)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct irq_matrix * | m | |
| const struct cpumask * | msk |
| 159 | cm = per_cpu_ptr(maps, cpu) |
| 161 | If Not online || managed_allocated > allocated Then Continue |
| 165 | allocated = managed_allocated |
| 167 | Return best_cpu |
| Name | Describe |
|---|---|
| irq_matrix_alloc_managed | q_matrix_alloc_managed - Allocate a managed interrupt in a CPU map*@m: Matrix pointer*@cpu: On which CPU the interrupt should be allocated |
| 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 |