Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\sched.h Create Date:2022-07-28 05:59:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:task_rq_unlock

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

Type:void

Parameter:

TypeParameterName
struct rq *rq
struct task_struct *p
struct rq_flags *rf
1190  rq_unpin_lock(rq, rf)
1191  raw_spin_unlock( & runqueue lock: )
1192  raw_spin_unlock_irqrestore( & pi_lock, flags)
Caller
NameDescribe
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.