函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\rcu.h Create Date:2022-07-27 11:17:52
Last Modify:2022-05-19 07:39:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Adjust sequence number for end of update-side operation.

函数原型:static inline void rcu_seq_end(unsigned long *sp)

返回类型:void

参数:

类型参数名称
unsigned long *sp
71  smp_mb()
72  WARN_ON_ONCE(!Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current().)
73  WRITE_ONCE( * sp, Compute the end-of-grace-period value for the specified sequence number. )
调用者
名称描述
srcu_gp_endNote the end of an SRCU grace period. Initiates callback invocation* and starts a new grace period if needed.* The ->srcu_cb_mutex acquisition does not protect any data, but* instead prevents more than one grace period from starting while we
srcu_barriersrcu_barrier - Wait until all in-flight call_srcu() callbacks complete.*@ssp: srcu_struct on which to wait for in-flight callbacks.
rcu_gp_cleanupClean up after the old grace period.
rcu_barrier_barrier - Wait until all in-flight call_rcu() callbacks complete
rcu_exp_gp_seq_endRecord the end of an expedited grace period.