Function report |
Source Code:lib\cpumask.c |
Create Date:2022-07-28 06:16:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pumask_local_spread - select the i'th cpu with local numa cpu's first*@i: index number*@node: local numa_node* This function selects an online CPU according to a numa aware policy;* local cpus are returned first, followed by non-local ones, then it
Proto:unsigned int cpumask_local_spread(unsigned int i, int node)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | i | |
int | node |
211 | i %= num_online_cpus() |
213 | If node == NUMA_NO_NODE Then |
214 | for_each_cpu(cpu, cpu_online_mask) |
217 | Else |
219 | for_each_cpu_and(cpu, Returns a pointer to the cpumask of CPUs on Node 'node'. , cpu_online_mask) |
232 | BUG() |
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 |