函数逻辑报告 |
Source Code:kernel\sched\core.c |
Create Date:2022-07-27 10:36:13 |
Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:switched_from, switched_to and prio_changed must _NOT_ drop rq->lock,* use the balance_callback list if you want balancing.* this means any call to check_class_changed() must be followed by a call to* balance_callback().
函数原型:static inline void check_class_changed(struct rq *rq, struct task_struct *p, const struct sched_class *prev_class, int oldprio)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rq * | rq | |
struct task_struct * | p | |
const struct sched_class * | prev_class | |
int | oldprio |
1409 | 如果prev_class不等于调度函数则 |
1410 | 如果switched_from则switched_from(rq, p) |
1413 | switched_to(rq, p) |
名称 | 描述 |
---|---|
__sched_setscheduler |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |