Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set attrs and install prepared pwqs, @ctx points to old pwqs on return

Proto:static void apply_wqattrs_commit(struct apply_wqattrs_ctx *ctx)

Type:void

Parameter:

TypeParameterName
struct apply_wqattrs_ctx *ctx
3963  mutex_lock( & protects this wq )
3965  copy_workqueue_attrs(PW: only for unbound wqs , attrs to apply )
3968  for_each_node(node)
3969  pwq_tbl[node] = stall @pwq into @wq's numa_pwq_tbl[] for @node and return the old pwq
3973  sync @pwq with the current state of its associated wq and link it
3974  swap - swap values of @a and @b*@a: first value*@b: second value(PW: only for unbound wqs , dfl_pwq)
3976  mutex_unlock( & protects this wq )
Caller
NameDescribe
apply_workqueue_attrs_locked
workqueue_apply_unbound_cpumask