Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:task_current

Proto:static inline int task_current(struct rq *rq, struct task_struct *p)

Type:int

Parameter:

TypeParameterName
struct rq *rq
struct task_struct *p
1619  Return curr == p
Caller
NameDescribe
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
enqueue_task_rtAdding/removing a task to/from a priority array:
enqueue_task_dl