Function report |
Source Code:kernel\rcu\srcutree.c |
Create Date:2022-07-28 10:18:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Start an SRCU grace period.
Proto:static void srcu_gp_start(struct srcu_struct *ssp)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct srcu_struct * | ssp |
| 440 | sdp = this_cpu_ptr(sda) |
| 443 | lockdep_assert_held( & ACCESS_PRIVATE(ssp, lock)) |
| 450 | spin_unlock_rcu_node(sdp) |
| 451 | smp_mb() |
| 453 | state = Return the state portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current(). |
| 454 | WARN_ON_ONCE(state != SRCU_STATE_SCAN1) |
| Name | Describe |
|---|---|
| srcu_gp_end | Note the end of an SRCU grace period. Initiates callback invocation* and starts a new grace period if needed.* The ->srcu_cb_mutex acquisition does not protect any data, but* instead prevents more than one grace period from starting while we |
| srcu_funnel_gp_start | Funnel-locking scheme to scalably mediate many concurrent grace-period* requests |
| srcu_advance_state | Core SRCU state machine. Push state bits of ->srcu_gp_seq* to SRCU_STATE_SCAN2, and invoke srcu_gp_end() when scan has* completed in that state. |
| srcu_reschedule |
| 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 |