函数逻辑报告 |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-27 11:27:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Per-CPU kernel thread that invokes RCU callbacks. This replaces* the RCU softirq used in configurations of RCU that do not support RCU* priority boosting.
函数原型:static void rcu_cpu_kthread(unsigned int cpu)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned int | cpu |
| 2474 | statusp等于this_cpu_ptr( & rcu_cpu_kthread_status) |
| 2475 | workp等于this_cpu_ptr( & rcu_cpu_has_work) |
| 2480 | local_bh_disable() |
| 2481 | statusp等于RCU_KTHREAD_RUNNING |
| 2482 | 禁止中断() |
| 2484 | workp等于0 |
| 2485 | 开中断() |
| 2488 | local_bh_enable() |
| 2489 | 如果workp恒等于0则 |
| 2495 | statusp等于RCU_KTHREAD_YIELDING |
| 2497 | schedule_timeout_interruptible(2) |
| 2499 | statusp等于RCU_KTHREAD_WAITING |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |