Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sched_rt_runtime_exceeded

Proto:static int sched_rt_runtime_exceeded(struct rt_rq *rt_rq)

Type:int

Parameter:

TypeParameterName
struct rt_rq *rt_rq
910  runtime = sched_rt_runtime(rt_rq)
912  If rt_throttled Then Return rt_rq_throttled(rt_rq)
915  If runtime >= sched_rt_period(rt_rq) Then Return 0
918  balance_runtime(rt_rq)
919  runtime = sched_rt_runtime(rt_rq)
920  If runtime == Single value that denotes runtime == period, ie unlimited time. Then Return 0
923  If rt_time > runtime Then
924  rt_b = sched_rt_bandwidth(rt_rq)
931  rt_throttled = 1
932  printk_deferred_once("sched: RT throttling activated\n")
933  Else
939  rt_time = 0
942  If rt_rq_throttled(rt_rq) Then
944  Return 1
948  Return 0
Caller
NameDescribe
update_curr_rtUpdate the current task's runtime statistics. Skip current tasks that* are not in our scheduling class.