函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set attrs and install prepared pwqs, @ctx points to old pwqs on return

函数原型:static void apply_wqattrs_commit(struct apply_wqattrs_ctx *ctx)

返回类型:void

参数:

类型参数名称
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 )
调用者
名称描述
apply_workqueue_attrs_locked
workqueue_apply_unbound_cpumask