Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:static struct pool_workqueue *unbound_pwq_by_node(struct workqueue_struct *wq, int node)

Type:struct pool_workqueue

Parameter:

TypeParameterName
struct workqueue_struct *wq
intnode
561  assert_rcu_or_wq_mutex_or_pool_mutex(wq)
569  If Value for the false possibility is greater at compile time(node == NUMA_NO_NODE) Then Return PW: only for unbound wqs
572  Return Dependency order vs. p above. (PWR: unbound pwqs indexed by node [node])
Caller
NameDescribe
__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