函数逻辑报告 |
Source Code:kernel\sched\core.c |
Create Date:2022-07-27 10:36:06 |
| Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:标记当前进程需要被调度出去
函数原型:void resched_curr(struct rq *rq)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct rq * | rq |
| 513 | lockdep_assert_held( & 运行队列锁) |
| 515 | 如果检查进程是否已经设置了调度标志则返回 |
| 名称 | 描述 |
|---|---|
| resched_cpu | |
| check_preempt_curr | |
| set_user_nice | |
| yield_to | yield_to - yield the current processor to another thread in* your thread group, or accelerate that thread toward the* processor it's on |
| check_preempt_curr_idle | Idle tasks are unconditionally rescheduled: |
| check_preempt_tick | 检查当前进程是否需要被抢占 |
| check_preempt_wakeup | Preempt the current task with a newly woken task if needed: |
| task_fork_fair | alled on fork with the child task as argument from the parent's context* - child not yet on the tasklist* - preemption disabled |
| prio_changed_fair | Priority of the task has changed. Check to see if we preempt* the current task. |
| switched_to_fair | |
| sched_rt_rq_enqueue | |
| update_curr_rt | Update the current task's runtime statistics. Skip current tasks that* are not in our scheduling class. |
| check_preempt_curr_rt | Preempt the current task with a newly woken task if needed: |
| switched_to_rt | When switching a task to RT, we may overload the runqueue* with RT tasks. In this case we try to push them off to* other runqueues. |
| prio_changed_rt | Priority of the task has changed. This may cause* us to initiate a push or pull. |
| task_tick_rt | scheduler tick hitting a task of our scheduling class |
| dl_task_timer | This is the bandwidth enforcement timer callback |
| update_curr_dl | Update the current task's runtime statistics (provided it is still* a -deadline task and has not been removed from the dl_rq). |
| check_preempt_curr_dl | |
| switched_to_dl | When switching to -deadline, we may overload the rq, then* we try to push someone off, if possible. |
| prio_changed_dl | If the scheduling parameters of a -deadline task changed,* a push or pull operation might be needed. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |