函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\tree.c Create Date:2022-07-27 11:25:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Return true if an RCU grace period is in progress. The READ_ONCE()s* permit this function to be invoked without holding the root rcu_node* structure's ->lock, but of course results can be subject to change.

函数原型:static int rcu_gp_in_progress(void)

返回类型:int

参数:

203  返回:Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current().
调用者
名称描述
rcu_start_this_gp_start_this_gp - Request the start of a particular grace period*@rnp_start: The leaf node of the CPU from which to start
rcu_gp_initInitialize a new grace period. Return false if no grace period required.
rcu_report_qs_rspReport a full set of quiescent states to the rcu_state data structure
rcu_corePerform RCU core processing work for the current CPU.
__call_rcu_coreHandle any core-RCU processing required by a call_rcu() invocation.
rcu_pending
rcu_stall_kick_kthreadsIf too much time has passed in the current grace period, and if* so configured, go kick the relevant kthreads.
check_cpu_stall
rcu_check_gp_start_stallThis function checks for grace-period requests that fail to motivate* RCU to come out of its idle mode.
rcu_fwd_progress_checkDo a forward-progress check for rcutorture. This is normally invoked* due to an OOM event. The argument "j" gives the time period during* which rcutorture would like progress to have been made.