函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bound_pwq_by_node - return the unbound pool_workqueue for the given node*@wq: the target workqueue*@node: the node ID* This must be called with any of wq_pool_mutex, wq->mutex or RCU* read locked

函数原型:static struct pool_workqueue *unbound_pwq_by_node(struct workqueue_struct *wq, int node)

返回类型:struct pool_workqueue

参数:

类型参数名称
struct workqueue_struct *wq
intnode
561  assert_rcu_or_wq_mutex_or_pool_mutex(wq)
569  如果此条件成立可能性小(为编译器优化)(node == NUMA_NO_NODE)则返回:PW: only for unbound wqs
572  返回:Dependency order vs. p above. (PWR: unbound pwqs indexed by node [node])
调用者
名称描述
__queue_work
wq_update_unbound_numawq_update_unbound_numa - update NUMA affinity of a wq for CPU hot[un]plug*@wq: the target workqueue*@cpu: the CPU coming up or going down*@online: whether @cpu is coming up or going down* This function is to be called from %CPU_DOWN_PREPARE, %CPU_ONLINE
workqueue_congestedworkqueue_congested - test whether a workqueue is congested*@cpu: CPU in question*@wq: target workqueue* Test whether @wq's cpu workqueue for @cpu is congested. There is* no synchronization around this function and the test result is