]> git.baikalelectronics.ru Git - kernel.git/commit
sched/deadline: Remove superfluous rq clock update in push_dl_task()
authorHao Jia <jiahao.os@bytedance.com>
Sat, 30 Apr 2022 08:58:43 +0000 (16:58 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 11 May 2022 14:27:12 +0000 (16:27 +0200)
commit0090874032e7adf0450e74f3a362636e6194a806
tree00578d390674686dbdeb853bc33dcb563bdc25ad
parent582fa29a76d2491487327457224d3377b01ec759
sched/deadline: Remove superfluous rq clock update in push_dl_task()

The change to call update_rq_clock() before activate_task()
commit 89f3f9e3cf62 ("sched/deadline: Update rq_clock of later_rq
when pushing a task") is no longer needed since commit 964100a982d8
("sched/deadline: Fix double accounting of rq/running bw in push & pull")
removed the add_running_bw() before the activate_task().

So we remove some comments that are no longer needed and update
rq clock in activate_task().

Signed-off-by: Hao Jia <jiahao.os@bytedance.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Reviewed-by: Daniel Bristot de Oliveira <bristot@redhat.com>
Link: https://lore.kernel.org/r/20220430085843.62939-3-jiahao.os@bytedance.com
kernel/sched/deadline.c