函数逻辑报告 |
Source Code:kernel\workqueue.c |
Create Date:2022-07-27 10:24:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Do we have too many workers and should some go away?
函数原型:static bool too_many_workers(struct worker_pool *pool)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct worker_pool * | pool |
802 | managing等于X: flags 按位与POOL_MANAGER_ACTIVE |
806 | 返回:nr_idle大于2且nr_idle减2的差乘MAX_IDLE_WORKERS_RATIO大于等于nr_busy |
名称 | 描述 |
---|---|
worker_enter_idle | worker_enter_idle - enter idle state*@worker: worker which is entering idle state*@worker is entering idle state. Update stats and idle timer if* necessary.* LOCKING:* spin_lock_irq(pool->lock). |
idle_worker_timeout |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |