Function report |
Source Code:kernel\sched\deadline.c |
Create Date:2022-07-28 09:39:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The utilization of a task cannot be immediately removed from* the rq active utilization (running_bw) when the task blocks
Proto:static void task_non_contending(struct task_struct *p)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | p |
| 241 | dl_rq = dl_rq_of_se(dl_se) |
| 242 | rq = rq_of_dl_rq(dl_rq) |
| 249 | If Maximum runtime for each instance == 0 Then Return |
| 252 | If dl_entity_is_special(dl_se) Then Return |
| 255 | WARN_ON(dl_non_contending) |
| 257 | zerolag_time = Absolute deadline for this instance - div64_long(( Remaining runtime for this instance * Separation of two instances (period) ), Maximum runtime for each instance ) |
| 265 | zerolag_time -= rq_clock(rq) |
| 272 | If dl_task(p) Then sub_running_bw(dl_se, dl_rq) |
| 279 | raw_spin_lock( & lock) |
| 280 | __dl_sub(dl_b, dl_runtime / dl_period , dl_bw_cpus(task_cpu(p))) |
| 282 | raw_spin_unlock( & lock) |
| 285 | Return |
| 288 | dl_non_contending = 1 |
| 289 | get_task_struct(p) |
| Name | Describe |
|---|---|
| dequeue_task_dl | |
| switched_from_dl |
| 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 |