Function report |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-28 10:27:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:void rcu_cpu_starting(unsigned int cpu)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | cpu |
3170 | If per_cpu(rcu_cpu_started, cpu) Then Return |
3173 | per_cpu(rcu_cpu_started, cpu) = 1 |
3175 | rdp = per_cpu_ptr( & rcu_data, cpu) |
3176 | rnp = This CPU's leaf of hierarchy |
3179 | ginning of each grace period. |= mask |
3181 | ginning of each expedited GP. |= mask |
3182 | oldmask ^= ginning of each expedited GP. |
3183 | nbits = bitmap_weight( & oldmask, BITS_PER_LONG) |
3185 | smp_store_release( & # CPUs seen so far. , # CPUs seen so far. + nbits) |
3189 | If CPUs or groups that need to switch in & mask Then |
3193 | Else |
3196 | smp_mb() |
Name | Describe |
---|---|
mtrr_ap_init | |
rcu_init |
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 |