Function report |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-28 10:26:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Record a quiescent state for the specified CPU to that CPU's rcu_data* structure. This must be called from the specified CPU.
Proto:static void rcu_report_qs_rdp(int cpu, struct rcu_data *rdp)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | cpu | |
| struct rcu_data * | rdp |
| 1973 | bool needwake = false |
| 1974 | 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? |
| 1978 | rnp = This CPU's leaf of hierarchy |
| 1980 | If norm || Track rsp->rcu_gp_seq counter. != Track rsp->rcu_gp_seq. || Possible ->gp_seq wrap. Then |
| 1994 | If (CPUs or groups that need to switch in & mask) == 0 Then |
| 1996 | Else |
| 2001 | If Not offloaded Then needwake = If there is room, assign a ->gp_seq number to any callbacks on this* CPU that have not already been assigned |
| 2007 | If needwake Then Awaken the grace-period kthread |
| Name | Describe |
|---|---|
| rcu_check_quiescent_state | Check to see if there is a new grace period of which this CPU* is not yet aware, and if so, set up local rcu_data state for it.* Otherwise, see if this CPU has just passed through its first |
| 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 |