Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:put_prev_task

Proto:static inline void put_prev_task(struct rq *rq, struct task_struct *prev)

Type:void

Parameter:

TypeParameterName
struct rq *rq
struct task_struct *prev
1764  WARN_ON_ONCE(curr != prev)
1765  put_prev_task(rq, prev)
Caller
NameDescribe
pick_next_taskPick up the highest-prio task:
set_user_nice
__sched_setscheduler
pick_next_task_fair