函数逻辑报告 |
Source Code:kernel\sched\core.c |
Create Date:2022-07-27 10:36:02 |
Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ask_rq_lock - lock p->pi_lock and lock the rq @p resides on.
函数原型:struct rq *task_rq_lock(struct task_struct *p, struct rq_flags *rf)__acquires(p->pi_lock) __acquires(rq->lock)
返回类型:struct rq
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p | |
struct rq_flags * | rf |
109 | 循环 |
112 | raw_spin_lock( & 运行队列锁) |
130 | 如果此条件成立可能性大(为编译器优化)(rq == task_rq(p) && !task_on_rq_migrating(p))则 |
131 | rq_pin_lock(rq, rf) |
132 | 返回:rq |
134 | raw_spin_unlock( & 运行队列锁) |
138 | cpu_relax() |
名称 | 描述 |
---|---|
task_sched_runtime | Return accounted runtime for the task.* In case the task is currently running, return the runtime plus current's* pending runtime that have not been accounted yet. |
set_user_nice | |
__sched_setscheduler | |
sched_rr_get_interval | |
read_sum_exec_runtime | |
dl_task_timer | This is the bandwidth enforcement timer callback |
inactive_task_timer | |
cgroup_move_task | group_move_task - move task to a different cgroup*@task: the task*@to: the target css_set* Move task to a new cgroup and safely migrate its associated stall* state between the different groups |
klp_try_switch_task | Try to safely switch a task to the target patch state. If it's currently* running, or it's sleeping on a to-be-patched or to-be-unpatched function, or* if the stack is unreliable, return false. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |