| 函数逻辑报告 | 
| Source Code: kernel\sched\cpufreq_schedutil.c | Create Date:2022-07-27 10:45:36 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:sugov_kthread_create
函数原型:static int sugov_kthread_create(struct sugov_policy *sg_policy)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct sugov_policy * | sg_policy | 
| 675 | 如果fast_switch_enabled则返回:0 | 
| 678 | kthread_init_work( & work, sugov_work) | 
| 679 | kthread_init_worker( & worker) | 
| 683 | 如果是错误则 | 
| 688 | ret等于sched_setattr_nocheck(thread, & attr) | 
| 689 | 如果ret则 | 
| 697 | init_irq_work( & The next fields are only needed if fast switch cannot be used: , sugov_irq_work) | 
| 698 | mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & work_lock) | 
| 700 | 唤醒中断线程 | 
| 702 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| sugov_init | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |