Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io-wq.c Create Date:2022-07-28 20:22:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:io_wqe_need_worker

Proto:static inline bool io_wqe_need_worker(struct io_wqe *wqe, int index)__must_hold(wqe->lock)

Type:bool

Parameter:

TypeParameterName
struct io_wqe *wqe
intindex
649  acct = acct[index]
652  If Not hlist_nulls_empty( & free_list) || Not io_wqe_run_queue(wqe) Then Return false
654  Return nr_workers < max_workers
Caller
NameDescribe
io_wq_managerManager thread. Tasked with creating new workers, if we need them.