Function report |
Source Code:kernel\sched\deadline.c |
Create Date:2022-07-28 09:39:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Pure Earliest Deadline First (EDF) scheduling does not deal with the* possibility of a entity lasting more than what it declared, and thus* exhausting its runtime
Proto:static void replenish_dl_entity(struct sched_dl_entity *dl_se, struct sched_dl_entity *pi_se)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sched_dl_entity * | dl_se | |
| struct sched_dl_entity * | pi_se |
| 701 | dl_rq = dl_rq_of_se(dl_se) |
| 702 | rq = rq_of_dl_rq(dl_rq) |
| 704 | BUG_ON( Maximum runtime for each instance <= 0) |
| 710 | If Relative deadline of each instance == 0 Then |
| 715 | If dl_yielded && Remaining runtime for this instance > 0 Then Remaining runtime for this instance = 0 |
| 724 | When Remaining runtime for this instance <= 0 cycle |
| 738 | If dl_time_before( Absolute deadline for this instance , rq_clock(rq)) Then |
| 739 | printk_deferred_once("sched: DL replenish lagged too much\n") |
| 744 | If dl_yielded Then dl_yielded = 0 |
| Name | Describe |
|---|---|
| dl_task_timer | This is the bandwidth enforcement timer callback |
| enqueue_dl_entity |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |