函数逻辑报告 |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-27 11:27:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:void rcu_cpu_starting(unsigned int cpu)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | cpu |
3170 | 如果per_cpu(rcu_cpu_started, cpu)则返回 |
3173 | per_cpu(rcu_cpu_started, cpu)等于1 |
3175 | rdp等于per_cpu_ptr( & rcu_data, cpu) |
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 | 如果CPUs or groups that need to switch in 按位与mask则 |
3193 | 否则 |
3196 | smp_mb() |
名称 | 描述 |
---|---|
mtrr_ap_init | |
rcu_init | 初始化直接读拷贝更新的锁机制 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |