Function report |
Source Code:kernel\sched\deadline.c |
Create Date:2022-07-28 09:40:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:inactive_task_timer
Proto:static enum hrtimer_restart inactive_task_timer(struct hrtimer *timer)
Type:enum hrtimer_restart
Parameter:
Type | Parameter | Name |
---|---|---|
struct hrtimer * | timer |
1287 | p = dl_task_of(dl_se) |
1293 | sched_clock_tick() |
1294 | update_rq_clock(rq) |
1299 | If run state == TASK_DEAD && dl_non_contending Then |
1300 | sub_running_bw( & dl, dl_rq_of_se( & dl)) |
1301 | sub_rq_bw( & dl, dl_rq_of_se( & dl)) |
1302 | dl_non_contending = 0 |
1305 | raw_spin_lock( & lock) |
1306 | __dl_sub(dl_b, dl_runtime / dl_period , dl_bw_cpus(task_cpu(p))) |
1307 | raw_spin_unlock( & lock) |
1310 | Go to unlock |
1312 | If dl_non_contending == 0 Then Go to unlock |
1315 | sub_running_bw(dl_se, & dl) |
1316 | dl_non_contending = 0 |
1317 | unlock : |
1318 | task_rq_unlock(rq, p, & rf) |
1319 | put_task_struct(p) |
1321 | Return Timer is not restarted |
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 |