Function report |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-28 10:25:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_start_this_gp - Request the start of a particular grace period*@rnp_start: The leaf node of the CPU from which to start
Proto:static bool rcu_start_this_gp(struct rcu_node *rnp_start, struct rcu_data *rdp, unsigned long gp_seq_req)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rcu_node * | rnp_start | |
| struct rcu_data * | rdp | |
| unsigned long | gp_seq_req |
| 1156 | bool ret = false |
| 1170 | When 1 cycle |
| 1171 | If rnp != rnp_start Then Wrappers for the rcu_node::lock acquire and release(rnp) |
| 1193 | If (rnp != rnp_start && cu_node tree? != NULL) Then raw_spin_unlock_rcu_node(rnp) |
| 1195 | If Not cu_node tree? Then Break |
| 1206 | Time of last GP request = jiffies |
| 1207 | If Not Task for grace periods. Then |
| 1212 | ret = true |
| 1213 | unlock_out : |
| 1215 | If ULONG_CMP_LT(gp_seq_req, Track furthest future GP request. ) Then |
| 1219 | If rnp != rnp_start Then raw_spin_unlock_rcu_node(rnp) |
| 1221 | Return ret |
| Name | Describe |
|---|---|
| rcu_accelerate_cbs | If there is room, assign a ->gp_seq number to any callbacks on this* CPU that have not already been assigned |
| 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 |