Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sync @pwq with the current state of its associated wq and link it

Proto:static void link_pwq(struct pool_workqueue *pwq)

Type:void

Parameter:

TypeParameterName
struct pool_workqueue *pwq
3750  wq = I: the owning workqueue
3752  lockdep_assert_held( & protects this wq )
3755  If Not list_empty - tests whether a list is empty*@head: the list to test. Then Return
3759  L: current color = WQ: current work color
3762  pwq_adjust_max_active - update a pwq's max_active to the current setting*@pwq: target pool_workqueue* If @pwq isn't freezing, set @pwq->max_active to the associated* workqueue's saved_max_active and activate delayed work items* accordingly
3765  list_add_rcu - add a new entry to rcu-protected list*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head
Caller
NameDescribe
numa_pwq_tbl_installstall @pwq into @wq's numa_pwq_tbl[] for @node and return the old pwq
apply_wqattrs_commitset attrs and install prepared pwqs, @ctx points to old pwqs on return
alloc_and_link_pwqs