Function report | 
Source Code:kernel\sched\deadline.c | 
Create Date:2022-07-28 09:40:18 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:enqueue_task_dl
Proto:static void enqueue_task_dl(struct rq *rq, struct task_struct *p, int flags)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct rq * | rq | |
| struct task_struct * | p | |
| int | flags | 
| 1474 | pi_task = rt_mutex_get_top_task(p) | 
| 1485 | If pi_task && dl_prio(normal_prio) && dl_boosted Then | 
| 1487 | Else if Not dl_prio(normal_prio) Then | 
| 1495 | BUG_ON(!dl_boosted || flags != ENQUEUE_REPLENISH) | 
| 1496 | Return | 
| 1508 | If on_rq == TASK_ON_RQ_MIGRATING || flags & ENQUEUE_RESTORE Then | 
| 1526 | If flags & ENQUEUE_WAKEUP Then task_contending( & dl, flags) | 
| 1529 | Return | 
| 1532 | enqueue_dl_entity( & dl, pi_se, flags) | 
| 1534 | If Not task_current(rq, p) && nr_cpus_allowed > 1 Then enqueue_pushable_dl_task(rq, p) | 
| Name | Describe | 
|---|---|
| dl_task_timer | This is the bandwidth enforcement timer callback | 
| update_curr_dl | Update the current task's runtime statistics (provided it is still* a -deadline task and has not been removed from the dl_rq). | 
| 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  |