函数逻辑报告 |
Source Code:kernel\rcu\tree_stall.h |
Create Date:2022-07-27 11:28:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Do a forward-progress check for rcutorture. This is normally invoked* due to an OOM event. The argument "j" gives the time period during* which rcutorture would like progress to have been made.
函数原型:void rcu_fwd_progress_check(unsigned long j)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned long | j |
| 664 | max_cbs等于0 |
| 665 | max_cpu等于负1 |
| 669 | 打印信息("%s: GP age %lu jiffies\n", __func__, jiffies - Time at which GP started, ) |
| 672 | 否则 |
| 673 | 打印信息("%s: Last GP end %lu jiffies ago\n", __func__, jiffies - Time last GP ended, again ) |
| 675 | 禁止抢占() |
| 676 | rdp等于this_cpu_ptr( & rcu_data) |
| 678 | 禁用抢占和中断() |
| 681 | cbs等于Return the number of callbacks queued on the specified CPU.* Handles both the nocbs and normal cases. |
| 682 | 如果非cbs则继续下一循环 |
| 名称 | 描述 |
|---|---|
| rcutorture_oom_notify | OOM notifier, but this only prints diagnostic information for the* current forward-progress test. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |