Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Put task to the head or the end of the run list without the overhead of* dequeue followed by enqueue.

Proto:static void requeue_rt_entity(struct rt_rq *rt_rq, struct sched_rt_entity *rt_se, int head)

Type:void

Parameter:

TypeParameterName
struct rt_rq *rt_rq
struct sched_rt_entity *rt_se
inthead
1359  If on_rt_rq(rt_se) Then
1360  array = active
1361  queue = queue + rt_se_prio(rt_se)
1363  If head Then list_move - delete from one list and add as another's head*@list: the entry to move*@head: the head that will precede our entry
1365  Else list_move_tail - delete from one list and add as another's tail*@list: the entry to move*@head: the head that will follow our entry
Caller
NameDescribe
requeue_task_rt