文章目录 1、update_curr_rt 2、限流检测 sched_rt_runtime_exceeded 2.1、sched_rt_runtime 2.2、rt_rq_throttled 3、RT_RUNTIME_SHARE特性 3.1、balance_runtime(rt_rq); 3.1.1、do_balance_runtime rt_rq->rt_time 更新 4、参考 1、update_curr_rt 1、运行时间的统计更新处理; 2、如果运行时间超出了分配时间,进行时间均衡处理, 2.1、并且判断是否需要进行限流, 2.2、进行了限流则需要将RT队列出队, 2.3、并重新进行调度; scheduler_tick -> curr->sched_class->task_tick(rq, curr, 0)