函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\workqueue.c Create Date:2022-07-27 10:24:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Need to wake up a worker? Called from anything but currently* running workers.* Note that, because unbound workers never contribute to nr_running, this* function will always return %true for unbound pools as long as the* worklist isn't empty.

函数原型:static bool need_more_worker(struct worker_pool *pool)

返回类型:bool

参数:

类型参数名称
struct worker_pool *pool
777  返回:非链表为空Policy functions. These define the policies on how the global worker* pools are managed. Unless noted otherwise, these functions assume that* they're being called with pool->lock held.
调用者
名称描述
need_to_create_workerDo we need a new worker? Called from manager.
process_one_workprocess_one_work - process single work*@worker: self*@work: work to process* Process @work
worker_thread
rescuer_threadscuer_thread - the rescuer thread function*@__rescuer: self* Workqueue rescuer thread function