Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Extract only those callbacks ready to be invoked from the specified* rcu_segcblist structure and place them in the specified rcu_cblist* structure.

Proto:void rcu_segcblist_extract_done_cbs(struct rcu_segcblist *rsclp, struct rcu_cblist *rclp)

Type:void

Parameter:

TypeParameterName
struct rcu_segcblist *rsclp
struct rcu_cblist *rclp
325  If Not Does the specified rcu_segcblist structure contain callbacks that* are ready to be invoked? Then Return
327  tail = head
328  WRITE_ONCE(head, * tails[Also RCU_WAIT head. ])
329  WRITE_ONCE( * tails[Also RCU_WAIT head. ], NULL)
330  tail = tails[Also RCU_WAIT head. ]
331  When i >= Also RCU_WAIT head. cycle If tails[i] == tails[Also RCU_WAIT head. ] Then
333  WRITE_ONCE(tails[i], & head)
Caller
NameDescribe
rcu_do_batchInvoke any RCU callbacks that have made it to the end of their grace* period. Thottle as specified by rdp->blimit.
rcu_segcblist_mergeMerge the source rcu_segcblist structure into the destination* rcu_segcblist structure, then initialize the source. Any pending* callbacks from the source get to start over. It is best to* advance and accelerate both the destination and the source