| Function report | 
| Source Code: kernel\workqueue.c | Create Date:2022-07-28 09:28:12 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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
Proto:int __init workqueue_init(void)
Type:int
Parameter:Nothing
| 5994 | wq_numa_init() | 
| 5996 | mutex_lock( & wq_pool_mutex) | 
| 5998 | for_each_possible_cpu(cpu) | 
| 6000 | I: the associated node ID = cpu_to_node(cpu) | 
| 6006 | WARN(Workqueues which may be used during memory reclaim should have a rescuer* to guarantee forward progress., "workqueue: failed to create early rescuer for %s", I: workqueue name ) | 
| 6011 | mutex_unlock( & wq_pool_mutex) | 
| 6014 | for_each_online_cpu(cpu) | 
| 6016 | X: flags &= ~POOL_DISASSOCIATED | 
| 6024 | can kworkers be created yet? = true | 
| 6025 | Workqueue watchdog | 
| 6027 | Return 0 | 
| 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 |