Function report |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-28 10:26:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static bool __note_gp_changes(struct rcu_node *rnp, struct rcu_data *rdp)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct rcu_node * | rnp | |
struct rcu_data * | rdp |
1392 | bool ret = false |
1394 | offloaded = IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_RCU_NOCB_CPU) && Is the specified rcu_segcblist offloaded? |
1399 | If Track rsp->rcu_gp_seq counter. == Track rsp->rcu_gp_seq. Then Return false |
1408 | Else |
1422 | need_gp = Not Not (CPUs or groups that need to switch in & Mask to apply to leaf qsmask. ) |
1425 | zero_cpu_stall_ticks(rdp) |
1428 | If ULONG_CMP_LT(Track furthest future GP request. , Track furthest future GP request. ) || Possible ->gp_seq wrap. Then Track furthest future GP request. = Track furthest future GP request. |
1430 | WRITE_ONCE(Possible ->gp_seq wrap. , false) |
1432 | Return ret |
Name | Describe |
---|---|
note_gp_changes | |
rcu_gp_init | Initialize a new grace period. Return false if no grace period required. |
rcu_gp_cleanup | Clean up after the old grace period. |
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 |