Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:26:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:workqueue_select_cpu_near - Select a CPU based on NUMA node*@node: NUMA node ID that we want to select a CPU from* This function will attempt to find a "random" cpu available on a given* node
Proto:static int workqueue_select_cpu_near(int node)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | node |
1536 | If Not unbound NUMA affinity enabled Then Return WORK_CPU_UNBOUND |
1540 | If node < 0 || node >= MAX_NUMNODES || Not node_online(node) Then Return WORK_CPU_UNBOUND |
1545 | If node == cpu_to_node(cpu) Then Return cpu |
1552 | Return If cpu < nr_cpu_ids Then cpu Else WORK_CPU_UNBOUND |
Name | Describe |
---|---|
queue_work_node | queue_work_node - queue work on a "random" cpu for a given NUMA node*@node: NUMA node that we are targeting the work for*@wq: workqueue to use*@work: work to queue* We queue the work to a "random" CPU within a given NUMA node |
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 |