函数逻辑报告 |
Source Code:kernel\workqueue.c |
Create Date:2022-07-27 10:27:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Workqueues which may be used during memory reclaim should have a rescuer* to guarantee forward progress.
函数原型:static int init_rescuer(struct workqueue_struct *wq)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct workqueue_struct * | wq |
4198 | 如果非hot fields used during command issue, aligned to cacheline 按位与WQ_MEM_RECLAIM的值则返回:0 |
4201 | rescuer等于alloc_worker(NUMA_NO_NODE) |
4205 | I: the workqueue to rescue 等于wq |
4207 | ret等于PTR_ERR_OR_ZERO(I: worker task ) |
4208 | 如果ret则 |
4213 | MD: rescue worker 等于rescuer |
4215 | 唤醒中断线程 |
4217 | 返回:0 |
名称 | 描述 |
---|---|
alloc_workqueue | |
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |