函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\sched.h Create Date:2022-07-27 06:58:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:task_rq_unlock

函数原型:static inline void task_rq_unlock(struct rq *rq, struct task_struct *p, struct rq_flags *rf)__releases(rq->lock) __releases(p->pi_lock)

返回类型:void

参数:

类型参数名称
struct rq *rq
struct task_struct *p
struct rq_flags *rf
1190  rq_unpin_lock(rq, rf)
1191  raw_spin_unlock( & 运行队列锁)
1192  raw_spin_unlock_irqrestore( & pi_lock, flags)
调用者
名称描述
wake_up_new_taskwake_up_new_task - wake up a newly created task for the first time.* This function will do some initial scheduler statistics housekeeping* that must be done for every newly created context, then puts the task* on the runqueue and wakes it.
task_sched_runtimeReturn 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_timerThis is the bandwidth enforcement timer callback
inactive_task_timer
cgroup_move_taskgroup_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_taskTry 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.