Function report |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-28 10:25:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:We are reporting a quiescent state on behalf of some other CPU, so* it is our responsibility to check for and handle potential overflow* of the rcu_node ->gp_seq counter with respect to the rcu_data counters
Proto:static void rcu_gpnum_ovf(struct rcu_node *rnp, struct rcu_data *rdp)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct rcu_node * | rnp | |
struct rcu_data * | rdp |
992 | If ULONG_CMP_LT(Return the current value the update side's sequence number, no ordering. + ULONG_MAX / 4, Track rsp->rcu_gp_seq. ) Then WRITE_ONCE(Possible ->gp_seq wrap. , true) |
995 | If ULONG_CMP_LT(->gp_seq associated with ->rcu_iw. + ULONG_MAX / 4, Track rsp->rcu_gp_seq. ) Then ->gp_seq associated with ->rcu_iw. = Track rsp->rcu_gp_seq. + ULONG_MAX / 4 |
Name | Describe |
---|---|
dyntick_save_progress_counter | Snapshot the specified CPU's dynticks counter so that we can later* credit them with an implicit quiescent state. Return 1 if this CPU* is in dynticks idle mode, which is an extended quiescent state. |
rcu_implicit_dynticks_qs | Return true if the specified CPU has passed through a quiescent* state by virtue of being in or having passed through an dynticks* idle state since the last call to dyntick_save_progress_counter()* for this same CPU, or by virtue of having been offline. |
__note_gp_changes | Update CPU-local rcu_data state to record the beginnings and ends of* grace periods. The caller must hold the ->lock of the leaf rcu_node* structure corresponding to the current CPU, and must have irqs disabled. |
rcu_cpu_starting | Mark the specified CPU as being online so that subsequent grace periods* (both expedited and normal) will wait on it. Note that this means that* incoming CPUs are not allowed to use RCU read-side critical sections* until this function is called |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |