函数逻辑报告 | 
Source Code:kernel\sched\topology.c | 
Create Date:2022-07-27 10:42:22 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:rq_attach_root
函数原型:void rq_attach_root(struct rq *rq, struct root_domain *rd)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct rq * | rq | |
| struct root_domain * | rd | 
| 442 | struct root_domain * old_rd = NULL | 
| 445 | raw_spin_lock_irqsave( & 运行队列锁, flags) | 
| 447 | 如果rd则 | 
| 464 | atomic_inc( & refcount) | 
| 467 | 设置CPU信息 | 
| 468 | 如果测试CPU信息则set_rq_online(rq) | 
| 471 | raw_spin_unlock_irqrestore( & 运行队列锁, flags) | 
| 473 | 如果old_rd则Post an RCU callback to be invoked after the end of an RCU grace* period. But since we have but one CPU, that would be after any* quiescent state. | 
| 名称 | 描述 | 
|---|---|
| cpu_attach_domain | Attach the domain 'sd' to 'cpu' as its base domain. Callers must* hold the hotplug lock. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |