Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:28:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:wq_numa_init
Proto:static void __init wq_numa_init(void)
Type:void
Parameter:Nothing
5852 | If num_possible_nodes() <= 1 Then Return |
5855 | If possible CPUs of each node Then |
5856 | pr_info("workqueue: NUMA affinity support disabled\n") |
5857 | Return |
5868 | tbl = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
5871 | for_each_node(node) |
5872 | BUG_ON(!zalloc_cpumask_var_node( & tbl[node], GFP_KERNEL, node_online(node) ? node : NUMA_NO_NODE)) |
5875 | for_each_possible_cpu(cpu) |
5885 | wq_numa_possible_cpumask = tbl |
5886 | unbound NUMA affinity enabled = true |
Name | Describe |
---|---|
workqueue_init | workqueue_init - bring workqueue subsystem fully online* This is the latter half of two-staged workqueue subsystem initialization* and invoked as soon as kthreads can be created and scheduled |
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 |