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:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Move callbacks from the specified rcu_cblist to the beginning of the* done-callbacks segment of the specified rcu_segcblist.

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

Type:void

Parameter:

TypeParameterName
struct rcu_segcblist *rsclp
struct rcu_cblist *rclp
379  If Not head Then Return
381  tail = head
382  WRITE_ONCE(head, head)
383  When i < RCU_CBLIST_NSEGS cycle If head == tails[i] Then
385  WRITE_ONCE(tails[i], tail)
386  Else Break
388  head = NULL
389  tail = head
Caller
NameDescribe
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