Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_wq_destroy

Proto:void io_wq_destroy(struct io_wq *wq)

Type:void

Parameter:

TypeParameterName
struct io_wq *wq
1113  Atomically set a bit in memory
1114  If manager Then stop a thread
1117  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
1118  for_each_node(node)
1119  Iterate the passed in list and call the specific function for each* worker that isn't exiting
1120  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
1122  wait_for_completion: - waits for completion of a task*@x: holds the state of this particular completion* This waits to be signaled for completion of a specific task. It is NOT* interruptible and there is no timeout.* See also similar routines (i
1124  for_each_node(node)
1125  kfree(wqes[node])
1126  kfree(wqes)
1127  kfree(wq)